Skip to content

#cd92ff

a light, electric violet · warm · closest name: violet

RGB
205, 146, 255
HSL
273°, 100%, 79%
CMYK
20, 43, 0, 0
Luminance
0.4076

Every format

HEX#cd92ff
RGBrgb(205, 146, 255)
HSLhsl(273, 100%, 79%)
CMYKcmyk(20%, 43%, 0%, 0%)
LABlab(70.0 42.1 -45.9)
LCHlch(70.0 62.3 312.6)
OKLCHoklch(0.758 0.162 307.9)

Copy-ready code

/* CSS */
color: #cd92ff;
background-color: #cd92ff;
/* Tailwind (arbitrary) */
class="text-[#cd92ff] bg-[#cd92ff]"
/* SCSS */
$brand: #cd92ff;
/* SwiftUI */
Color(red: 0.804, green: 0.573, blue: 1.000)
/* Android */
Color.parseColor("#cd92ff")

Accessibility — WCAG contrast

Aa
#cd92ff on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#cd92ff on black: 9.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green57.3%
Blue100.0%

CMYK percentages

Cyan19.6%
Magenta42.7%
Yellow0.0%
Key (black)0.0%

Color previews

#cd92ff text on a black background

contrast 9.15:1

Card sample

#cd92ff text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cd92ff;
Background color
Panel with #cd92ff background
background-color: #cd92ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cd92ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(205, 146, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 146, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd92ff;
background: linear-gradient(135deg, #cd92ff, #FF92E8);

Monochromatic scale

Palettes built from #cd92ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd92ff in the Color Lab