#CD85E7#CD85E7
#CD85E7 is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.6% C 0.156 H 316.7°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CD85E7 |
|---|---|
| RGB | rgb(205, 133, 231) |
| HSL | hsl(284, 67%, 71%) |
| HSV | hsv(284, 42%, 91%) |
| CMYK | cmyk(11.3%, 42.4%, 0%, 9.4%) |
| CIE-LAB | lab(66.16, 44.02, -38.76) |
| CIE-LCH | lch(66.16, 58.65, 318.63°) |
| OKLab | oklab(72.62% 0.1135 -0.107) |
| OKLCH | oklch(72.62% 0.156 316.7) |
| XYZ | xyz(47.9861, 35.5250, 79.9150) |
| Luminance | 0.3552 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 5.17
Lavender Pink
#DD85D7
ΔE00 5.35
Violet (CSS)
#EE82EE
ΔE00 5.68
Light Purple
#BF77F6
ΔE00 5.80
Orchid
#DA70D6
ΔE00 5.98
Baby Purple
#CA9BF7
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD85E7 #9FE785
analogous
#9C85E7 #CD85E7 #E785D0
triadic
#CD85E7 #E7CD85 #85E7CD
tetradic
#CD85E7 #E79C85 #9FE785 #85D0E7
square
#CD85E7 #E79C85 #9FE785 #85D0E7
split-complementary
#CD85E7 #D0E785 #85E79C
monochromatic
#9F28CA #B852DD #CD85E7 #E2B8F1 #F5E5FA
Accessibility & contrast
On white
2.59
#CD85E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#CD85E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD85E7
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD85E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD85E7 | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#749CEB
Deuteranopia (green-blind)
#87A3E4
Tritanopia (blue-blind)
#CC92AB
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #cd85e7; /* rgb */ color: rgb(205, 133, 231); /* oklch */ color: oklch(72.6% 0.156 316.7);
Tailwind
colors: {
custom: {
50: '#deaaef',
500: '#cd85e7',
950: '#000000',
},
}SCSS
$custom: #cd85e7; $custom-light: #deaaef; $custom-dark: #000000;
JSON
{
"hex": "#cd85e7",
"rgb": {
"r": 205,
"g": 133,
"b": 231
},
"hsl": {
"h": 284.082,
"s": 67.123,
"l": 71.373
},
"oklch": {
"l": 0.72617,
"c": 0.15598,
"h": 316.7
},
"luminance": 0.35524
}Semantic roles & 50–950 ramp
primary
#CD85E7
secondary
#DEF1D7
accent
#CF1647
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84