#DCA1FE#DCA1FE
#DCA1FE is a light, vivid violet. Relative luminance 0.479; OKLCH L 79.8% C 0.141 H 312.5°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #DCA1FE |
|---|---|
| RGB | rgb(220, 161, 254) |
| HSL | hsl(278, 98%, 81%) |
| HSV | hsv(278, 37%, 100%) |
| CMYK | cmyk(13.4%, 36.6%, 0%, 0.4%) |
| CIE-LAB | lab(74.74, 38.16, -37.84) |
| CIE-LCH | lch(74.74, 53.74, 315.24°) |
| OKLab | oklab(79.75% 0.0956 -0.1043) |
| OKLCH | oklch(79.75% 0.141 312.5) |
| XYZ | xyz(60.1465, 47.8622, 99.8166) |
| Luminance | 0.4786 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 2.92
Baby Purple
#CA9BF7
ΔE00 3.37
Mauve
#E0B0FF
ΔE00 3.80
Pastel Purple
#CAA0FF
ΔE00 3.84
Lavender (survey)
#C79FEF
ΔE00 4.03
Pale Violet
#CEAEFA
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCA1FE #C3FEA1
analogous
#AEA1FE #DCA1FE #FEA1F1
triadic
#DCA1FE #FEDCA1 #A1FEDC
tetradic
#DCA1FE #FEAEA1 #C3FEA1 #A1F1FE
square
#DCA1FE #FEAEA1 #C3FEA1 #A1F1FE
split-complementary
#DCA1FE #F1FEA1 #A1FEAE
monochromatic
#AF28FD #C564FD #DCA1FE #F3DEFF #F4E1FF
Accessibility & contrast
On white
1.99
#DCA1FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.57
#DCA1FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCA1FE
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCA1FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCA1FE | 1.00 | 1.99 | 10.57 | 10.57 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91B5FF
Deuteranopia (green-blind)
#9EB9FB
Tritanopia (blue-blind)
#D9AEC4
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #dca1fe; /* rgb */ color: rgb(220, 161, 254); /* oklch */ color: oklch(79.8% 0.141 312.5);
Tailwind
colors: {
custom: {
50: '#e8bdff',
500: '#dca1fe',
950: '#000000',
},
}SCSS
$custom: #dca1fe; $custom-light: #e8bdff; $custom-dark: #000000;
JSON
{
"hex": "#dca1fe",
"rgb": {
"r": 220,
"g": 161,
"b": 254
},
"hsl": {
"h": 278.065,
"s": 97.895,
"l": 81.373
},
"oklch": {
"l": 0.79751,
"c": 0.14149,
"h": 312.5
},
"luminance": 0.47861
}Semantic roles & 50–950 ramp
primary
#DCA1FE
secondary
#E1F7D4
accent
#E60054
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186