#CD7DEE#CD7DEE
#CD7DEE is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.7% C 0.177 H 315.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7DEE |
|---|---|
| RGB | rgb(205, 125, 238) |
| HSL | hsl(282, 77%, 71%) |
| HSV | hsv(282, 47%, 93%) |
| CMYK | cmyk(13.9%, 47.5%, 0%, 6.7%) |
| CIE-LAB | lab(64.82, 49.65, -44.72) |
| CIE-LCH | lch(64.82, 66.82, 317.99°) |
| OKLab | oklab(71.72% 0.1257 -0.1242) |
| OKLCH | oklch(71.72% 0.177 315.3) |
| XYZ | xyz(47.9407, 33.8207, 84.8750) |
| Luminance | 0.3382 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.78
Easter Purple
#C071FE
ΔE00 5.10
Liliac
#C48EFD
ΔE00 5.22
Orchid
#DA70D6
ΔE00 5.87
Violet (CSS)
#EE82EE
ΔE00 6.33
Light Urple
#B36FF6
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7DEE #9EEE7D
analogous
#947DEE #CD7DEE #EE7DD6
triadic
#CD7DEE #EECD7D #7DEECD
tetradic
#CD7DEE #EE947D #9EEE7D #7DD6EE
square
#CD7DEE #EE947D #9EEE7D #7DD6EE
split-complementary
#CD7DEE #D6EE7D #7DEE94
monochromatic
#9F1CD5 #B847E7 #CD7DEE #E2B3F5 #F5E4FB
Accessibility & contrast
On white
2.70
#CD7DEE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#CD7DEE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7DEE
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7DEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7DEE | 1.00 | 2.70 | 7.76 | 7.76 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#7DA0EB
Tritanopia (blue-blind)
#CB8EAA
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd7dee; /* rgb */ color: rgb(205, 125, 238); /* oklch */ color: oklch(71.7% 0.177 315.3);
Tailwind
colors: {
custom: {
50: '#dea5f4',
500: '#cd7dee',
950: '#000000',
},
}SCSS
$custom: #cd7dee; $custom-light: #dea5f4; $custom-dark: #000000;
JSON
{
"hex": "#cd7dee",
"rgb": {
"r": 205,
"g": 125,
"b": 238
},
"hsl": {
"h": 282.478,
"s": 76.871,
"l": 71.176
},
"oklch": {
"l": 0.71723,
"c": 0.1767,
"h": 315.3
},
"luminance": 0.33819
}Semantic roles & 50–950 ramp
primary
#CD7DEE
secondary
#DDF2D5
accent
#D90C48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85