#CDA1F5#CDA1F5
#CDA1F5 is a light, vivid violet. Relative luminance 0.451; OKLCH L 77.9% C 0.125 H 307.7°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #CDA1F5 |
|---|---|
| RGB | rgb(205, 161, 245) |
| HSL | hsl(271, 81%, 80%) |
| HSV | hsv(271, 34%, 96%) |
| CMYK | cmyk(16.3%, 34.3%, 0%, 3.9%) |
| CIE-LAB | lab(72.93, 31.81, -35.88) |
| CIE-LCH | lch(72.93, 47.95, 311.55°) |
| OKLab | oklab(77.93% 0.0765 -0.0989) |
| OKLCH | oklch(77.93% 0.125 307.7) |
| XYZ | xyz(54.4000, 45.0619, 92.2005) |
| Luminance | 0.4506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 1.25
Lilac (survey)
#CEA2FD
ΔE00 1.43
Baby Purple
#CA9BF7
ΔE00 1.85
Pastel Purple
#CAA0FF
ΔE00 2.34
Pale Violet
#CEAEFA
ΔE00 3.46
Mauve
#E0B0FF
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDA1F5 #C9F5A1
analogous
#A3A1F5 #CDA1F5 #F5A1F3
triadic
#CDA1F5 #F5CDA1 #A1F5CD
tetradic
#CDA1F5 #F5A3A1 #C9F5A1 #A1F3F5
square
#CDA1F5 #F5A3A1 #C9F5A1 #A1F3F5
split-complementary
#CDA1F5 #F3F5A1 #A1F5A3
monochromatic
#9232E9 #B06AEF #CDA1F5 #EAD8FB #F0E3FC
Accessibility & contrast
On white
2.10
#CDA1F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.01
#CDA1F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDA1F5
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDA1F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDA1F5 | 1.00 | 2.10 | 10.01 | 10.01 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91B1F8
Deuteranopia (green-blind)
#9AB4F3
Tritanopia (blue-blind)
#C8ADC0
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cda1f5; /* rgb */ color: rgb(205, 161, 245); /* oklch */ color: oklch(77.9% 0.125 307.7);
Tailwind
colors: {
custom: {
50: '#ddbdf8',
500: '#cda1f5',
950: '#000000',
},
}SCSS
$custom: #cda1f5; $custom-light: #ddbdf8; $custom-dark: #000000;
JSON
{
"hex": "#cda1f5",
"rgb": {
"r": 205,
"g": 161,
"b": 245
},
"hsl": {
"h": 271.429,
"s": 80.769,
"l": 79.608
},
"oklch": {
"l": 0.77928,
"c": 0.1251,
"h": 307.7
},
"luminance": 0.45061
}Semantic roles & 50–950 ramp
primary
#CDA1F5
secondary
#E5F4D7
accent
#DD086E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185