#CDA2EB#CDA2EB
#CDA2EB is a light, moderate violet. Relative luminance 0.448; OKLCH L 77.7% C 0.111 H 310.8°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CDA2EB |
|---|---|
| RGB | rgb(205, 162, 235) |
| HSL | hsl(275, 65%, 78%) |
| HSV | hsv(275, 31%, 92%) |
| CMYK | cmyk(12.8%, 31.1%, 0%, 7.8%) |
| CIE-LAB | lab(72.77, 29.14, -30.69) |
| CIE-LCH | lch(72.77, 42.32, 313.51°) |
| OKLab | oklab(77.68% 0.0727 -0.0842) |
| OKLCH | oklch(77.68% 0.111 310.8) |
| XYZ | xyz(53.0900, 44.8186, 84.4352) |
| Luminance | 0.4482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 2.08
Lilac (survey)
#CEA2FD
ΔE00 3.60
Baby Purple
#CA9BF7
ΔE00 3.73
Pale Violet
#CEAEFA
ΔE00 3.81
Mauve
#E0B0FF
ΔE00 4.30
Pastel Purple
#CAA0FF
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDA2EB #C0EBA2
analogous
#A8A2EB #CDA2EB #EBA2E5
triadic
#CDA2EB #EBCDA2 #A2EBCD
tetradic
#CDA2EB #EBA8A2 #C0EBA2 #A2E5EB
square
#CDA2EB #EBA8A2 #C0EBA2 #A2E5EB
split-complementary
#CDA2EB #E5EBA2 #A2EBA8
monochromatic
#973DD5 #B270E0 #CDA2EB #E8D4F6 #F1E6FA
Accessibility & contrast
On white
2.11
#CDA2EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#CDA2EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDA2EB
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDA2EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDA2EB | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96B0EE
Deuteranopia (green-blind)
#9FB3E9
Tritanopia (blue-blind)
#CAACBC
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cda2eb; /* rgb */ color: rgb(205, 162, 235); /* oklch */ color: oklch(77.7% 0.111 310.8);
Tailwind
colors: {
custom: {
50: '#ddbef1',
500: '#cda2eb',
950: '#000000',
},
}SCSS
$custom: #cda2eb; $custom-light: #ddbef1; $custom-dark: #000000;
JSON
{
"hex": "#cda2eb",
"rgb": {
"r": 205,
"g": 162,
"b": 235
},
"hsl": {
"h": 275.342,
"s": 64.602,
"l": 77.843
},
"oklch": {
"l": 0.77676,
"c": 0.11119,
"h": 310.8
},
"luminance": 0.44818
}Semantic roles & 50–950 ramp
primary
#CDA2EB
secondary
#E3F1DA
accent
#CC1963
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184