#DBA2FC#DBA2FC
#DBA2FC is a light, vivid violet. Relative luminance 0.479; OKLCH L 79.7% C 0.137 H 312.5°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #DBA2FC |
|---|---|
| RGB | rgb(219, 162, 252) |
| HSL | hsl(278, 94%, 81%) |
| HSV | hsv(278, 36%, 99%) |
| CMYK | cmyk(13.1%, 35.7%, 0%, 1.2%) |
| CIE-LAB | lab(74.78, 36.91, -36.70) |
| CIE-LCH | lch(74.78, 52.05, 315.16°) |
| OKLab | oklab(79.73% 0.0926 -0.1011) |
| OKLCH | oklch(79.73% 0.137 312.5) |
| XYZ | xyz(59.7015, 47.9300, 98.1830) |
| Luminance | 0.4793 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 2.84
Baby Purple
#CA9BF7
ΔE00 3.37
Mauve
#E0B0FF
ΔE00 3.45
Lavender (survey)
#C79FEF
ΔE00 3.76
Pastel Purple
#CAA0FF
ΔE00 3.85
Pale Violet
#CEAEFA
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DBA2FC #C3FCA2
analogous
#AEA2FC #DBA2FC #FCA2F0
triadic
#DBA2FC #FCDBA2 #A2FCDB
tetradic
#DBA2FC #FCAEA2 #C3FCA2 #A2F0FC
square
#DBA2FC #FCAEA2 #C3FCA2 #A2F0FC
split-complementary
#DBA2FC #F0FCA2 #A2FCAE
monochromatic
#AD2BF8 #C467FA #DBA2FC #F2DDFE #F4E1FE
Accessibility & contrast
On white
1.98
#DBA2FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.59
#DBA2FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DBA2FC
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DBA2FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DBA2FC | 1.00 | 1.98 | 10.59 | 10.59 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92B5FF
Deuteranopia (green-blind)
#A0B9F9
Tritanopia (blue-blind)
#D8AEC4
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #dba2fc; /* rgb */ color: rgb(219, 162, 252); /* oklch */ color: oklch(79.7% 0.137 312.5);
Tailwind
colors: {
custom: {
50: '#e7befd',
500: '#dba2fc',
950: '#000000',
},
}SCSS
$custom: #dba2fc; $custom-light: #e7befd; $custom-dark: #000000;
JSON
{
"hex": "#dba2fc",
"rgb": {
"r": 219,
"g": 162,
"b": 252
},
"hsl": {
"h": 278,
"s": 93.75,
"l": 81.176
},
"oklch": {
"l": 0.79734,
"c": 0.13709,
"h": 312.5
},
"luminance": 0.47929
}Semantic roles & 50–950 ramp
primary
#DBA2FC
secondary
#E1F6D5
accent
#E60054
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185