#D0A2FC#D0A2FC
#D0A2FC is a light, vivid violet. Relative luminance 0.463; OKLCH L 78.7% C 0.133 H 307.0°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #D0A2FC |
|---|---|
| RGB | rgb(208, 162, 252) |
| HSL | hsl(271, 94%, 81%) |
| HSV | hsv(271, 36%, 99%) |
| CMYK | cmyk(17.5%, 35.7%, 0%, 1.2%) |
| CIE-LAB | lab(73.73, 33.66, -38.42) |
| CIE-LCH | lch(73.73, 51.08, 311.22°) |
| OKLab | oklab(78.69% 0.0801 -0.1062) |
| OKLCH | oklch(78.69% 0.133 307) |
| XYZ | xyz(56.5001, 46.2793, 98.0329) |
| Luminance | 0.4628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 0.54
Pastel Purple
#CAA0FF
ΔE00 1.67
Baby Purple
#CA9BF7
ΔE00 1.82
Lavender (survey)
#C79FEF
ΔE00 2.28
Pale Violet
#CEAEFA
ΔE00 3.60
Mauve
#E0B0FF
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D0A2FC #CEFCA2
analogous
#A3A2FC #D0A2FC #FCA2FB
triadic
#D0A2FC #FCD0A2 #A2FCD0
tetradic
#D0A2FC #FCA3A2 #CEFCA2 #A2FBFC
square
#D0A2FC #FCA3A2 #CEFCA2 #A2FBFC
split-complementary
#D0A2FC #FBFCA2 #A2FCA3
monochromatic
#942BF8 #B267FA #D0A2FC #EEDDFE #F0E1FE
Accessibility & contrast
On white
2.05
#D0A2FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.26
#D0A2FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D0A2FC
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D0A2FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D0A2FC | 1.00 | 2.05 | 10.26 | 10.26 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90B3FF
Deuteranopia (green-blind)
#99B6F9
Tritanopia (blue-blind)
#CAAFC3
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #d0a2fc; /* rgb */ color: rgb(208, 162, 252); /* oklch */ color: oklch(78.7% 0.133 307.0);
Tailwind
colors: {
custom: {
50: '#dfbefd',
500: '#d0a2fc',
950: '#000000',
},
}SCSS
$custom: #d0a2fc; $custom-light: #dfbefd; $custom-dark: #000000;
JSON
{
"hex": "#d0a2fc",
"rgb": {
"r": 208,
"g": 162,
"b": 252
},
"hsl": {
"h": 270.667,
"s": 93.75,
"l": 81.176
},
"oklch": {
"l": 0.7869,
"c": 0.13302,
"h": 307
},
"luminance": 0.46279
}Semantic roles & 50–950 ramp
primary
#D0A2FC
secondary
#E5F6D5
accent
#E60070
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185