#CDA2FC#CDA2FC
#CDA2FC is a light, vivid violet. Relative luminance 0.458; OKLCH L 78.4% C 0.132 H 305.5°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #CDA2FC |
|---|---|
| RGB | rgb(205, 162, 252) |
| HSL | hsl(269, 94%, 81%) |
| HSV | hsv(269, 36%, 99%) |
| CMYK | cmyk(18.7%, 35.7%, 0%, 1.2%) |
| CIE-LAB | lab(73.45, 32.78, -38.88) |
| CIE-LCH | lch(73.45, 50.85, 310.14°) |
| OKLab | oklab(78.41% 0.0767 -0.1075) |
| OKLCH | oklch(78.41% 0.132 305.5) |
| XYZ | xyz(55.6644, 45.8484, 97.9937) |
| Luminance | 0.4585 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 0.22
Pastel Purple
#CAA0FF
ΔE00 1.16
Baby Purple
#CA9BF7
ΔE00 1.75
Lavender (survey)
#C79FEF
ΔE00 2.17
Pale Violet
#CEAEFA
ΔE00 3.47
Mauve
#E0B0FF
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDA2FC #D1FCA2
analogous
#A2A4FC #CDA2FC #FAA2FC
triadic
#CDA2FC #FCCDA2 #A2FCCD
tetradic
#CDA2FC #FCA2A4 #D1FCA2 #A2FCFA
square
#CDA2FC #FCA2A4 #D1FCA2 #A2FCFA
split-complementary
#CDA2FC #FCFAA2 #A4FCA2
monochromatic
#8D2BF8 #AD67FA #CDA2FC #EDDDFE #EFE1FE
Accessibility & contrast
On white
2.06
#CDA2FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.17
#CDA2FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDA2FC
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDA2FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDA2FC | 1.00 | 2.06 | 10.17 | 10.17 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FB3FF
Deuteranopia (green-blind)
#98B5F9
Tritanopia (blue-blind)
#C6B0C3
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cda2fc; /* rgb */ color: rgb(205, 162, 252); /* oklch */ color: oklch(78.4% 0.132 305.5);
Tailwind
colors: {
custom: {
50: '#ddbefd',
500: '#cda2fc',
950: '#000000',
},
}SCSS
$custom: #cda2fc; $custom-light: #ddbefd; $custom-dark: #000000;
JSON
{
"hex": "#cda2fc",
"rgb": {
"r": 205,
"g": 162,
"b": 252
},
"hsl": {
"h": 268.667,
"s": 93.75,
"l": 81.176
},
"oklch": {
"l": 0.78412,
"c": 0.1321,
"h": 305.5
},
"luminance": 0.45848
}Semantic roles & 50–950 ramp
primary
#CDA2FC
secondary
#E6F6D5
accent
#E60078
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185