#CDA2EF#CDA2EF
#CDA2EF is a light, moderate violet. Relative luminance 0.451; OKLCH L 77.8% C 0.116 H 309.4°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #CDA2EF |
|---|---|
| RGB | rgb(205, 162, 239) |
| HSL | hsl(274, 71%, 79%) |
| HSV | hsv(274, 32%, 94%) |
| CMYK | cmyk(14.2%, 32.2%, 0%, 6.3%) |
| CIE-LAB | lab(72.93, 29.98, -32.63) |
| CIE-LCH | lch(72.93, 44.31, 312.57°) |
| OKLab | oklab(77.85% 0.0737 -0.0897) |
| OKLCH | oklch(77.85% 0.116 309.4) |
| XYZ | xyz(53.6743, 45.0524, 87.5130) |
| Luminance | 0.4505 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 1.46
Lilac (survey)
#CEA2FD
ΔE00 2.74
Baby Purple
#CA9BF7
ΔE00 2.99
Pale Violet
#CEAEFA
ΔE00 3.42
Pastel Purple
#CAA0FF
ΔE00 3.66
Mauve
#E0B0FF
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDA2EF #C4EFA2
analogous
#A6A2EF #CDA2EF #EFA2EB
triadic
#CDA2EF #EFCDA2 #A2EFCD
tetradic
#CDA2EF #EFA6A2 #C4EFA2 #A2EBEF
square
#CDA2EF #EFA6A2 #C4EFA2 #A2EBEF
split-complementary
#CDA2EF #EBEFA2 #A2EFA6
monochromatic
#953ADD #B16EE6 #CDA2EF #E9D6F8 #F1E5FB
Accessibility & contrast
On white
2.10
#CDA2EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.01
#CDA2EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDA2EF
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDA2EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDA2EF | 1.00 | 2.10 | 10.01 | 10.01 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94B1F2
Deuteranopia (green-blind)
#9DB4ED
Tritanopia (blue-blind)
#C9ADBE
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cda2ef; /* rgb */ color: rgb(205, 162, 239); /* oklch */ color: oklch(77.8% 0.116 309.4);
Tailwind
colors: {
custom: {
50: '#ddbef4',
500: '#cda2ef',
950: '#000000',
},
}SCSS
$custom: #cda2ef; $custom-light: #ddbef4; $custom-dark: #000000;
JSON
{
"hex": "#cda2ef",
"rgb": {
"r": 205,
"g": 162,
"b": 239
},
"hsl": {
"h": 273.506,
"s": 70.642,
"l": 78.627
},
"oklch": {
"l": 0.77845,
"c": 0.11606,
"h": 309.4
},
"luminance": 0.45052
}Semantic roles & 50–950 ramp
primary
#CDA2EF
secondary
#E4F2D9
accent
#D31368
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185