#CD7EE5#CD7EE5
#CD7EE5 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.4% C 0.166 H 318.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7EE5 |
|---|---|
| RGB | rgb(205, 126, 229) |
| HSL | hsl(286, 66%, 70%) |
| HSV | hsv(286, 45%, 90%) |
| CMYK | cmyk(10.5%, 45%, 0%, 10.2%) |
| CIE-LAB | lab(64.61, 47.30, -40.07) |
| CIE-LCH | lch(64.61, 61.99, 319.74°) |
| OKLab | oklab(71.43% 0.123 -0.1108) |
| OKLCH | oklch(71.43% 0.166 318) |
| XYZ | xyz(46.7786, 33.5595, 78.1270) |
| Luminance | 0.3356 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.79
Light Purple
#BF77F6
ΔE00 5.10
Lavender Pink
#DD85D7
ΔE00 5.57
Violet (CSS)
#EE82EE
ΔE00 5.77
Orchid (survey)
#C875C4
ΔE00 6.05
Liliac
#C48EFD
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7EE5 #96E57E
analogous
#997EE5 #CD7EE5 #E57ECA
triadic
#CD7EE5 #E5CD7E #7EE5CD
tetradic
#CD7EE5 #E5997E #96E57E #7ECAE5
square
#CD7EE5 #E5997E #96E57E #7ECAE5
split-complementary
#CD7EE5 #CAE57E #7EE599
monochromatic
#9E27C2 #B94BDB #CD7EE5 #E1B1EF #F4E4FA
Accessibility & contrast
On white
2.72
#CD7EE5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#CD7EE5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7EE5
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7EE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7EE5 | 1.00 | 2.72 | 7.71 | 7.71 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D97E9
Deuteranopia (green-blind)
#839FE2
Tritanopia (blue-blind)
#CD8CA7
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd7ee5; /* rgb */ color: rgb(205, 126, 229); /* oklch */ color: oklch(71.4% 0.166 318.0);
Tailwind
colors: {
custom: {
50: '#dea5ed',
500: '#cd7ee5',
950: '#000000',
},
}SCSS
$custom: #cd7ee5; $custom-light: #dea5ed; $custom-dark: #000000;
JSON
{
"hex": "#cd7ee5",
"rgb": {
"r": 205,
"g": 126,
"b": 229
},
"hsl": {
"h": 286.019,
"s": 66.452,
"l": 69.608
},
"oklch": {
"l": 0.71433,
"c": 0.1655,
"h": 318
},
"luminance": 0.33558
}Semantic roles & 50–950 ramp
primary
#CD7EE5
secondary
#D8EED1
accent
#CE1742
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84