#CDAFE9#CDAFE9
#CDAFE9 is a light, moderate violet. Relative luminance 0.495; OKLCH L 80.0% C 0.087 H 308.0°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAFE9 |
|---|---|
| RGB | rgb(205, 175, 233) |
| HSL | hsl(271, 57%, 80%) |
| HSV | hsv(271, 25%, 91%) |
| CMYK | cmyk(12%, 24.9%, 0%, 8.6%) |
| CIE-LAB | lab(75.78, 21.61, -25.00) |
| CIE-LCH | lch(75.78, 33.04, 310.84°) |
| OKLab | oklab(79.95% 0.0533 -0.0682) |
| OKLCH | oklch(79.95% 0.087 308) |
| XYZ | xyz(55.2121, 49.5226, 83.7252) |
| Luminance | 0.4952 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 3.46
Pale Violet
#CEAEFA
ΔE00 3.93
Mauve
#E0B0FF
ΔE00 4.94
Light Lavender
#DFC5FE
ΔE00 5.36
Lavender (survey)
#C79FEF
ΔE00 5.49
Lavender
#B39DDB
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAFE9 #CBE9AF
analogous
#B0AFE9 #CDAFE9 #E9AFE8
triadic
#CDAFE9 #E9CDAF #AFE9CD
tetradic
#CDAFE9 #E9B0AF #CBE9AF #AFE8E9
square
#CDAFE9 #E9B0AF #CBE9AF #AFE8E9
split-complementary
#CDAFE9 #E8E9AF #AFE9B0
monochromatic
#914FCF #AF7FDC #CDAFE9 #EBDFF6 #F0E7F8
Accessibility & contrast
On white
1.93
#CDAFE9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.90
#CDAFE9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAFE9
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAFE9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAFE9 | 1.00 | 1.93 | 10.90 | 10.90 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5B9EB
Deuteranopia (green-blind)
#ABBBE7
Tritanopia (blue-blind)
#CAB7C3
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #cdafe9; /* rgb */ color: rgb(205, 175, 233); /* oklch */ color: oklch(80.0% 0.087 308.0);
Tailwind
colors: {
custom: {
50: '#dcc7f0',
500: '#cdafe9',
950: '#000000',
},
}SCSS
$custom: #cdafe9; $custom-light: #dcc7f0; $custom-dark: #000000;
JSON
{
"hex": "#cdafe9",
"rgb": {
"r": 205,
"g": 175,
"b": 233
},
"hsl": {
"h": 271.034,
"s": 56.863,
"l": 80
},
"oklch": {
"l": 0.79954,
"c": 0.08651,
"h": 308
},
"luminance": 0.49522
}Semantic roles & 50–950 ramp
primary
#CDAFE9
secondary
#E5F0DB
accent
#C42170
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284