#CDA1EB#CDA1EB
#CDA1EB is a light, moderate violet. Relative luminance 0.445; OKLCH L 77.5% C 0.113 H 311.0°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CDA1EB |
|---|---|
| RGB | rgb(205, 161, 235) |
| HSL | hsl(276, 65%, 78%) |
| HSV | hsv(276, 31%, 92%) |
| CMYK | cmyk(12.8%, 31.5%, 0%, 7.8%) |
| CIE-LAB | lab(72.54, 29.68, -31.05) |
| CIE-LCH | lch(72.54, 42.96, 313.71°) |
| OKLab | oklab(77.5% 0.0741 -0.0852) |
| OKLCH | oklch(77.5% 0.113 311) |
| XYZ | xyz(52.9145, 44.4677, 84.3767) |
| Luminance | 0.4447 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 1.98
Lilac (survey)
#CEA2FD
ΔE00 3.51
Baby Purple
#CA9BF7
ΔE00 3.53
Pale Violet
#CEAEFA
ΔE00 4.00
Pastel Purple
#CAA0FF
ΔE00 4.41
Mauve
#E0B0FF
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDA1EB #BFEBA1
analogous
#A8A1EB #CDA1EB #EBA1E4
triadic
#CDA1EB #EBCDA1 #A1EBCD
tetradic
#CDA1EB #EBA8A1 #BFEBA1 #A1E4EB
square
#CDA1EB #EBA8A1 #BFEBA1 #A1E4EB
split-complementary
#CDA1EB #E4EBA1 #A1EBA8
monochromatic
#973CD6 #B26FE0 #CDA1EB #E8D3F6 #F2E6FA
Accessibility & contrast
On white
2.12
#CDA1EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#CDA1EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDA1EB
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDA1EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDA1EB | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94B0EE
Deuteranopia (green-blind)
#9EB3E9
Tritanopia (blue-blind)
#CAABBC
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cda1eb; /* rgb */ color: rgb(205, 161, 235); /* oklch */ color: oklch(77.5% 0.113 311.0);
Tailwind
colors: {
custom: {
50: '#ddbdf1',
500: '#cda1eb',
950: '#000000',
},
}SCSS
$custom: #cda1eb; $custom-light: #ddbdf1; $custom-dark: #000000;
JSON
{
"hex": "#cda1eb",
"rgb": {
"r": 205,
"g": 161,
"b": 235
},
"hsl": {
"h": 275.676,
"s": 64.912,
"l": 77.647
},
"oklch": {
"l": 0.77499,
"c": 0.1129,
"h": 311
},
"luminance": 0.44467
}Semantic roles & 50–950 ramp
primary
#CDA1EB
secondary
#E3F1DA
accent
#CD1962
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184