#CDA2FE#CDA2FE
#CDA2FE is a light, vivid violet. Relative luminance 0.460; OKLCH L 78.5% C 0.135 H 305.0°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #CDA2FE |
|---|---|
| RGB | rgb(205, 162, 254) |
| HSL | hsl(268, 98%, 82%) |
| HSV | hsv(268, 36%, 100%) |
| CMYK | cmyk(19.3%, 36.2%, 0%, 0.4%) |
| CIE-LAB | lab(73.53, 33.22, -39.83) |
| CIE-LCH | lch(73.53, 51.87, 309.83°) |
| OKLab | oklab(78.5% 0.0772 -0.1103) |
| OKLCH | oklch(78.5% 0.135 305) |
| XYZ | xyz(55.9829, 45.9758, 99.6717) |
| Luminance | 0.4598 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 0.34
Pastel Purple
#CAA0FF
ΔE00 0.86
Baby Purple
#CA9BF7
ΔE00 1.84
Lavender (survey)
#C79FEF
ΔE00 2.49
Pale Violet
#CEAEFA
ΔE00 3.63
Mauve
#E0B0FF
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDA2FE #D3FEA2
analogous
#A2A5FE #CDA2FE #FBA2FE
triadic
#CDA2FE #FECDA2 #A2FECD
tetradic
#CDA2FE #FEA2A5 #D3FEA2 #A2FEFB
square
#CDA2FE #FEA2A5 #D3FEA2 #A2FEFB
split-complementary
#CDA2FE #FEFBA2 #A5FEA2
monochromatic
#8C29FD #AC65FD #CDA2FE #EEDFFF #EFE1FF
Accessibility & contrast
On white
2.06
#CDA2FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.20
#CDA2FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDA2FE
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDA2FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDA2FE | 1.00 | 2.06 | 10.20 | 10.20 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EB3FF
Deuteranopia (green-blind)
#97B5FB
Tritanopia (blue-blind)
#C6B0C4
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cda2fe; /* rgb */ color: rgb(205, 162, 254); /* oklch */ color: oklch(78.5% 0.135 305.0);
Tailwind
colors: {
custom: {
50: '#ddbeff',
500: '#cda2fe',
950: '#000000',
},
}SCSS
$custom: #cda2fe; $custom-light: #ddbeff; $custom-dark: #000000;
JSON
{
"hex": "#cda2fe",
"rgb": {
"r": 205,
"g": 162,
"b": 254
},
"hsl": {
"h": 268.043,
"s": 97.872,
"l": 81.569
},
"oklch": {
"l": 0.78503,
"c": 0.13459,
"h": 305
},
"luminance": 0.45976
}Semantic roles & 50–950 ramp
primary
#CDA2FE
secondary
#E7F7D4
accent
#E6007A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186