#CD85EC#CD85EC
#CD85EC is a light, vivid purple. Relative luminance 0.358; OKLCH L 72.9% C 0.161 H 315.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CD85EC |
|---|---|
| RGB | rgb(205, 133, 236) |
| HSL | hsl(282, 73%, 72%) |
| HSV | hsv(282, 44%, 93%) |
| CMYK | cmyk(13.1%, 43.6%, 0%, 7.5%) |
| CIE-LAB | lab(66.38, 45.04, -41.17) |
| CIE-LCH | lch(66.38, 61.02, 317.57°) |
| OKLab | oklab(72.85% 0.1143 -0.114) |
| OKLCH | oklch(72.85% 0.161 315.1) |
| XYZ | xyz(48.7023, 35.8116, 83.6874) |
| Luminance | 0.3581 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.42
Light Purple
#BF77F6
ΔE00 5.17
Baby Purple
#CA9BF7
ΔE00 5.72
Violet (CSS)
#EE82EE
ΔE00 5.94
Lavender Pink
#DD85D7
ΔE00 6.13
Orchid
#DA70D6
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD85EC #A4EC85
analogous
#9A85EC #CD85EC #EC85D7
triadic
#CD85EC #ECCD85 #85ECCD
tetradic
#CD85EC #EC9A85 #A4EC85 #85D7EC
square
#CD85EC #EC9A85 #A4EC85 #85D7EC
split-complementary
#CD85EC #D7EC85 #85EC9A
monochromatic
#9F21D5 #B750E4 #CD85EC #E3BAF4 #F4E5FB
Accessibility & contrast
On white
2.57
#CD85EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#CD85EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD85EC
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD85EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD85EC | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#85A3E9
Tritanopia (blue-blind)
#CB94AD
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #cd85ec; /* rgb */ color: rgb(205, 133, 236); /* oklch */ color: oklch(72.9% 0.161 315.1);
Tailwind
colors: {
custom: {
50: '#deaaf2',
500: '#cd85ec',
950: '#000000',
},
}SCSS
$custom: #cd85ec; $custom-light: #deaaf2; $custom-dark: #000000;
JSON
{
"hex": "#cd85ec",
"rgb": {
"r": 205,
"g": 133,
"b": 236
},
"hsl": {
"h": 281.942,
"s": 73.05,
"l": 72.353
},
"oklch": {
"l": 0.72854,
"c": 0.16145,
"h": 315.1
},
"luminance": 0.3581
}Semantic roles & 50–950 ramp
primary
#CD85EC
secondary
#E0F3D8
accent
#D5104C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85