#CD9DE3#CD9DE3
#CD9DE3 is a light, moderate purple. Relative luminance 0.426; OKLCH L 76.5% C 0.110 H 314.9°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CD9DE3 |
|---|---|
| RGB | rgb(205, 157, 227) |
| HSL | hsl(281, 56%, 75%) |
| HSV | hsv(281, 31%, 89%) |
| CMYK | cmyk(9.7%, 30.8%, 0%, 11%) |
| CIE-LAB | lab(71.31, 30.22, -28.57) |
| CIE-LCH | lch(71.31, 41.59, 316.61°) |
| OKLab | oklab(76.46% 0.0779 -0.0781) |
| OKLCH | oklch(76.46% 0.11 314.9) |
| XYZ | xyz(51.0968, 42.6400, 78.1968) |
| Luminance | 0.4264 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 3.36
Plum
#DDA0DD
ΔE00 4.42
Baby Purple
#CA9BF7
ΔE00 4.64
Pale Purple
#B790D4
ΔE00 4.84
Lilac (survey)
#CEA2FD
ΔE00 5.06
Mauve
#E0B0FF
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD9DE3 #B3E39D
analogous
#AA9DE3 #CD9DE3 #E39DD6
triadic
#CD9DE3 #E3CD9D #9DE3CD
tetradic
#CD9DE3 #E3AA9D #B3E39D #9DD6E3
square
#CD9DE3 #E3AA9D #B3E39D #9DD6E3
split-complementary
#CD9DE3 #D6E39D #9DE3AA
monochromatic
#9C3EC8 #B56DD5 #CD9DE3 #E5CDF1 #F3E7F8
Accessibility & contrast
On white
2.20
#CD9DE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#CD9DE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD9DE3
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD9DE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD9DE3 | 1.00 | 2.20 | 9.53 | 9.53 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93ACE6
Deuteranopia (green-blind)
#9DB0E1
Tritanopia (blue-blind)
#CCA6B6
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cd9de3; /* rgb */ color: rgb(205, 157, 227); /* oklch */ color: oklch(76.5% 0.110 314.9);
Tailwind
colors: {
custom: {
50: '#ddbaec',
500: '#cd9de3',
950: '#000000',
},
}SCSS
$custom: #cd9de3; $custom-light: #ddbaec; $custom-dark: #000000;
JSON
{
"hex": "#cd9de3",
"rgb": {
"r": 205,
"g": 157,
"b": 227
},
"hsl": {
"h": 281.143,
"s": 55.556,
"l": 75.294
},
"oklch": {
"l": 0.76461,
"c": 0.11029,
"h": 314.9
},
"luminance": 0.42639
}Semantic roles & 50–950 ramp
primary
#CD9DE3
secondary
#E2EFDC
accent
#C32255
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084