#CDA2FB#CDA2FB
#CDA2FB is a light, vivid violet. Relative luminance 0.458; OKLCH L 78.4% C 0.131 H 305.8°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CDA2FB |
|---|---|
| RGB | rgb(205, 162, 251) |
| HSL | hsl(269, 92%, 81%) |
| HSV | hsv(269, 35%, 98%) |
| CMYK | cmyk(18.3%, 35.5%, 0%, 1.6%) |
| CIE-LAB | lab(73.41, 32.56, -38.40) |
| CIE-LCH | lch(73.41, 50.35, 310.30°) |
| OKLab | oklab(78.37% 0.0765 -0.1062) |
| OKLCH | oklch(78.37% 0.131 305.8) |
| XYZ | xyz(55.5063, 45.7851, 97.1613) |
| Luminance | 0.4578 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 0.35
Pastel Purple
#CAA0FF
ΔE00 1.32
Baby Purple
#CA9BF7
ΔE00 1.74
Lavender (survey)
#C79FEF
ΔE00 2.01
Pale Violet
#CEAEFA
ΔE00 3.40
Mauve
#E0B0FF
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDA2FB #D0FBA2
analogous
#A2A3FB #CDA2FB #FAA2FB
triadic
#CDA2FB #FBCDA2 #A2FBCD
tetradic
#CDA2FB #FBA2A3 #D0FBA2 #A2FBFA
square
#CDA2FB #FBA2A3 #D0FBA2 #A2FBFA
split-complementary
#CDA2FB #FBFAA2 #A3FBA2
monochromatic
#8E2DF6 #AD67F8 #CDA2FB #EDDDFE #EFE2FE
Accessibility & contrast
On white
2.07
#CDA2FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.16
#CDA2FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDA2FB
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDA2FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDA2FB | 1.00 | 2.07 | 10.16 | 10.16 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FB3FE
Deuteranopia (green-blind)
#98B5F8
Tritanopia (blue-blind)
#C6AFC3
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cda2fb; /* rgb */ color: rgb(205, 162, 251); /* oklch */ color: oklch(78.4% 0.131 305.8);
Tailwind
colors: {
custom: {
50: '#ddbefd',
500: '#cda2fb',
950: '#000000',
},
}SCSS
$custom: #cda2fb; $custom-light: #ddbefd; $custom-dark: #000000;
JSON
{
"hex": "#cda2fb",
"rgb": {
"r": 205,
"g": 162,
"b": 251
},
"hsl": {
"h": 268.989,
"s": 91.753,
"l": 80.98
},
"oklch": {
"l": 0.78368,
"c": 0.13086,
"h": 305.8
},
"luminance": 0.45785
}Semantic roles & 50–950 ramp
primary
#CDA2FB
secondary
#E6F6D5
accent
#E60077
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185