#DCA2FB#DCA2FB
#DCA2FB is a light, vivid violet. Relative luminance 0.480; OKLCH L 79.8% C 0.136 H 313.3°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #DCA2FB |
|---|---|
| RGB | rgb(220, 162, 251) |
| HSL | hsl(279, 92%, 81%) |
| HSV | hsv(279, 35%, 98%) |
| CMYK | cmyk(12.4%, 35.5%, 0%, 1.6%) |
| CIE-LAB | lab(74.84, 37.00, -36.06) |
| CIE-LCH | lch(74.84, 51.67, 315.74°) |
| OKLab | oklab(79.79% 0.0935 -0.0992) |
| OKLCH | oklch(79.79% 0.136 313.3) |
| XYZ | xyz(59.8453, 48.0224, 97.3647) |
| Luminance | 0.4802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 3.15
Mauve
#E0B0FF
ΔE00 3.40
Baby Purple
#CA9BF7
ΔE00 3.62
Lavender (survey)
#C79FEF
ΔE00 3.92
Pastel Purple
#CAA0FF
ΔE00 4.17
Pale Violet
#CEAEFA
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCA2FB #C1FBA2
analogous
#AFA2FB #DCA2FB #FBA2ED
triadic
#DCA2FB #FBDCA2 #A2FBDC
tetradic
#DCA2FB #FBAFA2 #C1FBA2 #A2EDFB
square
#DCA2FB #FBAFA2 #C1FBA2 #A2EDFB
split-complementary
#DCA2FB #EDFBA2 #A2FBAF
monochromatic
#B02DF6 #C667F8 #DCA2FB #F2DDFE #F4E2FE
Accessibility & contrast
On white
1.98
#DCA2FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.60
#DCA2FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCA2FB
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCA2FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCA2FB | 1.00 | 1.98 | 10.60 | 10.60 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93B5FE
Deuteranopia (green-blind)
#A0BAF8
Tritanopia (blue-blind)
#DAAEC3
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #dca2fb; /* rgb */ color: rgb(220, 162, 251); /* oklch */ color: oklch(79.8% 0.136 313.3);
Tailwind
colors: {
custom: {
50: '#e8befd',
500: '#dca2fb',
950: '#000000',
},
}SCSS
$custom: #dca2fb; $custom-light: #e8befd; $custom-dark: #000000;
JSON
{
"hex": "#dca2fb",
"rgb": {
"r": 220,
"g": 162,
"b": 251
},
"hsl": {
"h": 279.101,
"s": 91.753,
"l": 80.98
},
"oklch": {
"l": 0.79788,
"c": 0.13636,
"h": 313.3
},
"luminance": 0.48021
}Semantic roles & 50–950 ramp
primary
#DCA2FB
secondary
#E1F6D5
accent
#E60050
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185