#DCA6FE#DCA6FE
#DCA6FE is a light, vivid violet. Relative luminance 0.496; OKLCH L 80.6% C 0.133 H 311.7°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #DCA6FE |
|---|---|
| RGB | rgb(220, 166, 254) |
| HSL | hsl(277, 98%, 82%) |
| HSV | hsv(277, 35%, 100%) |
| CMYK | cmyk(13.4%, 34.6%, 0%, 0.4%) |
| CIE-LAB | lab(75.85, 35.47, -36.12) |
| CIE-LCH | lch(75.85, 50.62, 314.48°) |
| OKLab | oklab(80.59% 0.0885 -0.0994) |
| OKLCH | oklch(80.59% 0.133 311.7) |
| XYZ | xyz(61.0377, 49.6448, 100.1137) |
| Luminance | 0.4964 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mauve
#E0B0FF
ΔE00 2.56
Lilac (survey)
#CEA2FD
ΔE00 2.89
Baby Purple
#CA9BF7
ΔE00 3.85
Lavender (survey)
#C79FEF
ΔE00 3.93
Pastel Purple
#CAA0FF
ΔE00 3.98
Pale Violet
#CEAEFA
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCA6FE #C8FEA6
analogous
#B0A6FE #DCA6FE #FEA6F4
triadic
#DCA6FE #FEDCA6 #A6FEDC
tetradic
#DCA6FE #FEB0A6 #C8FEA6 #A6F4FE
square
#DCA6FE #FEB0A6 #C8FEA6 #A6F4FE
split-complementary
#DCA6FE #F4FEA6 #A6FEB0
monochromatic
#AC2DFD #C469FD #DCA6FE #F3E1FF #F3E1FF
Accessibility & contrast
On white
1.92
#DCA6FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.93
#DCA6FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCA6FE
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCA6FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCA6FE | 1.00 | 1.92 | 10.93 | 10.93 |
| #FFFFFF | 1.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97B8FF
Deuteranopia (green-blind)
#A3BCFB
Tritanopia (blue-blind)
#D9B2C7
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #dca6fe; /* rgb */ color: rgb(220, 166, 254); /* oklch */ color: oklch(80.6% 0.133 311.7);
Tailwind
colors: {
custom: {
50: '#e8c1ff',
500: '#dca6fe',
950: '#000000',
},
}SCSS
$custom: #dca6fe; $custom-light: #e8c1ff; $custom-dark: #000000;
JSON
{
"hex": "#dca6fe",
"rgb": {
"r": 220,
"g": 166,
"b": 254
},
"hsl": {
"h": 276.818,
"s": 97.778,
"l": 82.353
},
"oklch": {
"l": 0.80594,
"c": 0.13311,
"h": 311.7
},
"luminance": 0.49644
}Semantic roles & 50–950 ramp
primary
#DCA6FE
secondary
#E2F7D4
accent
#E60059
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186