#CD7DE8#CD7DE8
#CD7DE8 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.170 H 317.1°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7DE8 |
|---|---|
| RGB | rgb(205, 125, 232) |
| HSL | hsl(285, 70%, 70%) |
| HSV | hsv(285, 46%, 91%) |
| CMYK | cmyk(11.6%, 46.1%, 0%, 9%) |
| CIE-LAB | lab(64.54, 48.43, -41.84) |
| CIE-LCH | lch(64.54, 64.00, 319.18°) |
| OKLab | oklab(71.43% 0.1248 -0.1159) |
| OKLCH | oklch(71.43% 0.17 317.1) |
| XYZ | xyz(47.0739, 33.4740, 80.3097) |
| Luminance | 0.3347 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.56
Orchid
#DA70D6
ΔE00 5.07
Liliac
#C48EFD
ΔE00 5.85
Easter Purple
#C071FE
ΔE00 5.91
Violet (CSS)
#EE82EE
ΔE00 5.96
Lavender Pink
#DD85D7
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7DE8 #98E87D
analogous
#987DE8 #CD7DE8 #E87DCD
triadic
#CD7DE8 #E8CD7D #7DE8CD
tetradic
#CD7DE8 #E8987D #98E87D #7DCDE8
square
#CD7DE8 #E8987D #98E87D #7DCDE8
split-complementary
#CD7DE8 #CDE87D #7DE898
monochromatic
#9E23C7 #B949DF #CD7DE8 #E1B1F1 #F5E5FA
Accessibility & contrast
On white
2.73
#CD7DE8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#CD7DE8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7DE8
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7DE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7DE8 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A97EC
Deuteranopia (green-blind)
#809FE5
Tritanopia (blue-blind)
#CC8CA8
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cd7de8; /* rgb */ color: rgb(205, 125, 232); /* oklch */ color: oklch(71.4% 0.170 317.1);
Tailwind
colors: {
custom: {
50: '#dea5ef',
500: '#cd7de8',
950: '#000000',
},
}SCSS
$custom: #cd7de8; $custom-light: #dea5ef; $custom-dark: #000000;
JSON
{
"hex": "#cd7de8",
"rgb": {
"r": 205,
"g": 125,
"b": 232
},
"hsl": {
"h": 284.86,
"s": 69.935,
"l": 70
},
"oklch": {
"l": 0.71427,
"c": 0.17032,
"h": 317.1
},
"luminance": 0.33473
}Semantic roles & 50–950 ramp
primary
#CD7DE8
secondary
#D9EFD1
accent
#D21444
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84