#CDA2FF#CDA2FF
#CDA2FF is a light, vivid violet. Relative luminance 0.460; OKLCH L 78.5% C 0.136 H 304.7°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CDA2FF |
|---|---|
| RGB | rgb(205, 162, 255) |
| HSL | hsl(268, 100%, 82%) |
| HSV | hsv(268, 36%, 100%) |
| CMYK | cmyk(19.6%, 36.5%, 0%, 0%) |
| CIE-LAB | lab(73.57, 33.44, -40.31) |
| CIE-LCH | lch(73.57, 52.37, 309.68°) |
| OKLab | oklab(78.55% 0.0774 -0.1116) |
| OKLCH | oklch(78.55% 0.136 304.7) |
| XYZ | xyz(56.1435, 46.0400, 100.5172) |
| Luminance | 0.4604 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 0.51
Pastel Purple
#CAA0FF
ΔE00 0.75
Baby Purple
#CA9BF7
ΔE00 1.91
Lavender (survey)
#C79FEF
ΔE00 2.66
Pale Violet
#CEAEFA
ΔE00 3.73
Mauve
#E0B0FF
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDA2FF #D4FFA2
analogous
#A2A6FF #CDA2FF #FCA2FF
triadic
#CDA2FF #FFCDA2 #A2FFCD
tetradic
#CDA2FF #FFA2A6 #D4FFA2 #A2FFFC
square
#CDA2FF #FFA2A6 #D4FFA2 #A2FFFC
split-complementary
#CDA2FF #FFFCA2 #A6FFA2
monochromatic
#8B28FF #AC65FF #CDA2FF #EEDFFF #EFE0FF
Accessibility & contrast
On white
2.06
#CDA2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.21
#CDA2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDA2FF
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDA2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDA2FF | 1.00 | 2.06 | 10.21 | 10.21 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#97B5FC
Tritanopia (blue-blind)
#C5B0C5
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cda2ff; /* rgb */ color: rgb(205, 162, 255); /* oklch */ color: oklch(78.5% 0.136 304.7);
Tailwind
colors: {
custom: {
50: '#ddbeff',
500: '#cda2ff',
950: '#000000',
},
}SCSS
$custom: #cda2ff; $custom-light: #ddbeff; $custom-dark: #000000;
JSON
{
"hex": "#cda2ff",
"rgb": {
"r": 205,
"g": 162,
"b": 255
},
"hsl": {
"h": 267.742,
"s": 100,
"l": 81.765
},
"oklch": {
"l": 0.78548,
"c": 0.13583,
"h": 304.7
},
"luminance": 0.4604
}Semantic roles & 50–950 ramp
primary
#CDA2FF
secondary
#E7F7D4
accent
#E6007B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186