#D2A2FB#D2A2FB
#D2A2FB is a light, vivid violet. Relative luminance 0.465; OKLCH L 78.8% C 0.132 H 308.3°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #D2A2FB |
|---|---|
| RGB | rgb(210, 162, 251) |
| HSL | hsl(272, 92%, 81%) |
| HSV | hsv(272, 35%, 98%) |
| CMYK | cmyk(16.3%, 35.5%, 0%, 1.6%) |
| CIE-LAB | lab(73.87, 34.03, -37.64) |
| CIE-LCH | lch(73.87, 50.74, 312.12°) |
| OKLab | oklab(78.83% 0.0822 -0.1039) |
| OKLCH | oklch(78.83% 0.132 308.3) |
| XYZ | xyz(56.9080, 46.5079, 97.2270) |
| Luminance | 0.4651 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 1.09
Baby Purple
#CA9BF7
ΔE00 2.03
Pastel Purple
#CAA0FF
ΔE00 2.19
Lavender (survey)
#C79FEF
ΔE00 2.36
Pale Violet
#CEAEFA
ΔE00 3.70
Mauve
#E0B0FF
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2A2FB #CBFBA2
analogous
#A5A2FB #D2A2FB #FBA2F7
triadic
#D2A2FB #FBD2A2 #A2FBD2
tetradic
#D2A2FB #FBA5A2 #CBFBA2 #A2F7FB
square
#D2A2FB #FBA5A2 #CBFBA2 #A2F7FB
split-complementary
#D2A2FB #F7FBA2 #A2FBA5
monochromatic
#992DF6 #B667F8 #D2A2FB #EEDDFE #F1E2FE
Accessibility & contrast
On white
2.04
#D2A2FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.30
#D2A2FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2A2FB
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2A2FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2A2FB | 1.00 | 2.04 | 10.30 | 10.30 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90B4FE
Deuteranopia (green-blind)
#9BB6F8
Tritanopia (blue-blind)
#CDAFC3
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #d2a2fb; /* rgb */ color: rgb(210, 162, 251); /* oklch */ color: oklch(78.8% 0.132 308.3);
Tailwind
colors: {
custom: {
50: '#e1befd',
500: '#d2a2fb',
950: '#000000',
},
}SCSS
$custom: #d2a2fb; $custom-light: #e1befd; $custom-dark: #000000;
JSON
{
"hex": "#d2a2fb",
"rgb": {
"r": 210,
"g": 162,
"b": 251
},
"hsl": {
"h": 272.36,
"s": 91.753,
"l": 80.98
},
"oklch": {
"l": 0.78832,
"c": 0.13246,
"h": 308.3
},
"luminance": 0.46507
}Semantic roles & 50–950 ramp
primary
#D2A2FB
secondary
#E4F6D5
accent
#E6006A
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185