#DCA2FF#DCA2FF
#DCA2FF is a light, vivid violet. Relative luminance 0.483; OKLCH L 80.0% C 0.141 H 312.1°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #DCA2FF |
|---|---|
| RGB | rgb(220, 162, 255) |
| HSL | hsl(277, 100%, 82%) |
| HSV | hsv(277, 36%, 100%) |
| CMYK | cmyk(13.7%, 36.5%, 0%, 0%) |
| CIE-LAB | lab(75.00, 37.83, -37.98) |
| CIE-LCH | lch(75.00, 53.60, 314.89°) |
| OKLab | oklab(79.96% 0.0944 -0.1047) |
| OKLCH | oklch(79.96% 0.141 312.1) |
| XYZ | xyz(60.4825, 48.2773, 100.7206) |
| Luminance | 0.4828 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 2.80
Baby Purple
#CA9BF7
ΔE00 3.39
Mauve
#E0B0FF
ΔE00 3.62
Pastel Purple
#CAA0FF
ΔE00 3.74
Lavender (survey)
#C79FEF
ΔE00 4.02
Pale Violet
#CEAEFA
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCA2FF #C5FFA2
analogous
#AEA2FF #DCA2FF #FFA2F4
triadic
#DCA2FF #FFDCA2 #A2FFDC
tetradic
#DCA2FF #FFAEA2 #C5FFA2 #A2F4FF
square
#DCA2FF #FFAEA2 #C5FFA2 #A2F4FF
split-complementary
#DCA2FF #F4FFA2 #A2FFAE
monochromatic
#AE28FF #C565FF #DCA2FF #F3DFFF #F3E0FF
Accessibility & contrast
On white
1.97
#DCA2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.66
#DCA2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCA2FF
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCA2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCA2FF | 1.00 | 1.97 | 10.66 | 10.66 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91B6FF
Deuteranopia (green-blind)
#9FBAFC
Tritanopia (blue-blind)
#D9AFC5
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #dca2ff; /* rgb */ color: rgb(220, 162, 255); /* oklch */ color: oklch(80.0% 0.141 312.1);
Tailwind
colors: {
custom: {
50: '#e8beff',
500: '#dca2ff',
950: '#000000',
},
}SCSS
$custom: #dca2ff; $custom-light: #e8beff; $custom-dark: #000000;
JSON
{
"hex": "#dca2ff",
"rgb": {
"r": 220,
"g": 162,
"b": 255
},
"hsl": {
"h": 277.419,
"s": 100,
"l": 81.765
},
"oklch": {
"l": 0.79962,
"c": 0.14097,
"h": 312.1
},
"luminance": 0.48276
}Semantic roles & 50–950 ramp
primary
#DCA2FF
secondary
#E1F7D4
accent
#E60056
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186