#CD7DE9#CD7DE9
#CD7DE9 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.5% C 0.171 H 316.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7DE9 |
|---|---|
| RGB | rgb(205, 125, 233) |
| HSL | hsl(284, 71%, 70%) |
| HSV | hsv(284, 46%, 91%) |
| CMYK | cmyk(12%, 46.4%, 0%, 8.6%) |
| CIE-LAB | lab(64.59, 48.63, -42.32) |
| CIE-LCH | lch(64.59, 64.46, 318.97°) |
| OKLab | oklab(71.48% 0.125 -0.1172) |
| OKLCH | oklch(71.48% 0.171 316.8) |
| XYZ | xyz(47.2163, 33.5310, 81.0599) |
| Luminance | 0.3353 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.42
Orchid
#DA70D6
ΔE00 5.20
Liliac
#C48EFD
ΔE00 5.74
Easter Purple
#C071FE
ΔE00 5.76
Violet (CSS)
#EE82EE
ΔE00 6.01
Lavender Pink
#DD85D7
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7DE9 #99E97D
analogous
#977DE9 #CD7DE9 #E97DCF
triadic
#CD7DE9 #E9CD7D #7DE9CD
tetradic
#CD7DE9 #E9977D #99E97D #7DCFE9
square
#CD7DE9 #E9977D #99E97D #7DCFE9
split-complementary
#CD7DE9 #CFE97D #7DE997
monochromatic
#9E22CA #B949E0 #CD7DE9 #E1B1F2 #F5E5FB
Accessibility & contrast
On white
2.73
#CD7DE9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#CD7DE9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7DE9
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7DE9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7DE9 | 1.00 | 2.73 | 7.71 | 7.71 |
| #FFFFFF | 2.73 | 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)
#6998ED
Deuteranopia (green-blind)
#809FE6
Tritanopia (blue-blind)
#CC8CA8
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd7de9; /* rgb */ color: rgb(205, 125, 233); /* oklch */ color: oklch(71.5% 0.171 316.8);
Tailwind
colors: {
custom: {
50: '#dea5f0',
500: '#cd7de9',
950: '#000000',
},
}SCSS
$custom: #cd7de9; $custom-light: #dea5f0; $custom-dark: #000000;
JSON
{
"hex": "#cd7de9",
"rgb": {
"r": 205,
"g": 125,
"b": 233
},
"hsl": {
"h": 284.444,
"s": 71.053,
"l": 70.196
},
"oklch": {
"l": 0.71476,
"c": 0.17138,
"h": 316.8
},
"luminance": 0.3353
}Semantic roles & 50–950 ramp
primary
#CD7DE9
secondary
#DAF0D2
accent
#D31244
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84