#D2A1FA#D2A1FA
#D2A1FA is a light, vivid violet. Relative luminance 0.461; OKLCH L 78.6% C 0.133 H 308.8°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #D2A1FA |
|---|---|
| RGB | rgb(210, 161, 250) |
| HSL | hsl(273, 90%, 81%) |
| HSV | hsv(273, 36%, 98%) |
| CMYK | cmyk(16%, 35.6%, 0%, 2%) |
| CIE-LAB | lab(73.61, 34.36, -37.51) |
| CIE-LCH | lch(73.61, 50.87, 312.49°) |
| OKLab | oklab(78.62% 0.0834 -0.1035) |
| OKLCH | oklch(78.62% 0.133 308.8) |
| XYZ | xyz(56.5753, 46.0941, 96.3406) |
| Luminance | 0.4609 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 1.26
Baby Purple
#CA9BF7
ΔE00 1.90
Pastel Purple
#CAA0FF
ΔE00 2.30
Lavender (survey)
#C79FEF
ΔE00 2.31
Pale Violet
#CEAEFA
ΔE00 3.93
Mauve
#E0B0FF
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2A1FA #C9FAA1
analogous
#A5A1FA #D2A1FA #FAA1F5
triadic
#D2A1FA #FAD2A1 #A1FAD2
tetradic
#D2A1FA #FAA5A1 #C9FAA1 #A1F5FA
square
#D2A1FA #FAA5A1 #C9FAA1 #A1F5FA
split-complementary
#D2A1FA #F5FAA1 #A1FAA5
monochromatic
#9A2DF4 #B667F7 #D2A1FA #EEDBFD #F1E2FD
Accessibility & contrast
On white
2.06
#D2A1FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.22
#D2A1FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2A1FA
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2A1FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2A1FA | 1.00 | 2.06 | 10.22 | 10.22 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90B3FD
Deuteranopia (green-blind)
#9BB6F7
Tritanopia (blue-blind)
#CDAEC2
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #d2a1fa; /* rgb */ color: rgb(210, 161, 250); /* oklch */ color: oklch(78.6% 0.133 308.8);
Tailwind
colors: {
custom: {
50: '#e1bdfc',
500: '#d2a1fa',
950: '#000000',
},
}SCSS
$custom: #d2a1fa; $custom-light: #e1bdfc; $custom-dark: #000000;
JSON
{
"hex": "#d2a1fa",
"rgb": {
"r": 210,
"g": 161,
"b": 250
},
"hsl": {
"h": 273.034,
"s": 89.899,
"l": 80.588
},
"oklch": {
"l": 0.78616,
"c": 0.13292,
"h": 308.8
},
"luminance": 0.46094
}Semantic roles & 50–950 ramp
primary
#D2A1FA
secondary
#E4F6D5
accent
#E60067
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185