#CDA2FD#CDA2FD
#CDA2FD is a light, vivid violet. Relative luminance 0.459; OKLCH L 78.5% C 0.133 H 305.2°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #CDA2FD |
|---|---|
| RGB | rgb(205, 162, 253) |
| HSL | hsl(268, 96%, 81%) |
| HSV | hsv(268, 36%, 99%) |
| CMYK | cmyk(19%, 36%, 0%, 0.8%) |
| CIE-LAB | lab(73.49, 33.00, -39.36) |
| CIE-LCH | lch(73.49, 51.36, 309.98°) |
| OKLab | oklab(78.46% 0.0769 -0.1089) |
| OKLCH | oklch(78.46% 0.133 305.2) |
| XYZ | xyz(55.8232, 45.9119, 98.8305) |
| Luminance | 0.4591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 0.22
Pastel Purple
#CAA0FF
ΔE00 1.00
Baby Purple
#CA9BF7
ΔE00 1.78
Lavender (survey)
#C79FEF
ΔE00 2.33
Pale Violet
#CEAEFA
ΔE00 3.55
Mauve
#E0B0FF
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDA2FD #D2FDA2
analogous
#A2A5FD #CDA2FD #FBA2FD
triadic
#CDA2FD #FDCDA2 #A2FDCD
tetradic
#CDA2FD #FDA2A5 #D2FDA2 #A2FDFB
square
#CDA2FD #FDA2A5 #D2FDA2 #A2FDFB
split-complementary
#CDA2FD #FDFBA2 #A5FDA2
monochromatic
#8D2AFA #AD66FC #CDA2FD #EDDEFE #EFE1FE
Accessibility & contrast
On white
2.06
#CDA2FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.18
#CDA2FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDA2FD
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDA2FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDA2FD | 1.00 | 2.06 | 10.18 | 10.18 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EB3FF
Deuteranopia (green-blind)
#97B5FA
Tritanopia (blue-blind)
#C6B0C4
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cda2fd; /* rgb */ color: rgb(205, 162, 253); /* oklch */ color: oklch(78.5% 0.133 305.2);
Tailwind
colors: {
custom: {
50: '#ddbefe',
500: '#cda2fd',
950: '#000000',
},
}SCSS
$custom: #cda2fd; $custom-light: #ddbefe; $custom-dark: #000000;
JSON
{
"hex": "#cda2fd",
"rgb": {
"r": 205,
"g": 162,
"b": 253
},
"hsl": {
"h": 268.352,
"s": 95.789,
"l": 81.373
},
"oklch": {
"l": 0.78457,
"c": 0.13335,
"h": 305.2
},
"luminance": 0.45912
}Semantic roles & 50–950 ramp
primary
#CDA2FD
secondary
#E6F7D4
accent
#E60079
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186