#D2A2FC#D2A2FC
#D2A2FC is a light, vivid violet. Relative luminance 0.466; OKLCH L 78.9% C 0.134 H 308.1°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #D2A2FC |
|---|---|
| RGB | rgb(210, 162, 252) |
| HSL | hsl(272, 94%, 81%) |
| HSV | hsv(272, 36%, 99%) |
| CMYK | cmyk(16.7%, 35.7%, 0%, 1.2%) |
| CIE-LAB | lab(73.91, 34.25, -38.12) |
| CIE-LCH | lch(73.91, 51.24, 311.94°) |
| OKLab | oklab(78.88% 0.0824 -0.1053) |
| OKLCH | oklch(78.88% 0.134 308.1) |
| XYZ | xyz(57.0660, 46.5711, 98.0594) |
| Luminance | 0.4657 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 0.96
Baby Purple
#CA9BF7
ΔE00 1.99
Pastel Purple
#CAA0FF
ΔE00 2.05
Lavender (survey)
#C79FEF
ΔE00 2.46
Pale Violet
#CEAEFA
ΔE00 3.74
Mauve
#E0B0FF
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2A2FC #CCFCA2
analogous
#A5A2FC #D2A2FC #FCA2F9
triadic
#D2A2FC #FCD2A2 #A2FCD2
tetradic
#D2A2FC #FCA5A2 #CCFCA2 #A2F9FC
square
#D2A2FC #FCA5A2 #CCFCA2 #A2F9FC
split-complementary
#D2A2FC #F9FCA2 #A2FCA5
monochromatic
#992BF8 #B567FA #D2A2FC #EFDDFE #F1E1FE
Accessibility & contrast
On white
2.04
#D2A2FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.31
#D2A2FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2A2FC
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2A2FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2A2FC | 1.00 | 2.04 | 10.31 | 10.31 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90B4FF
Deuteranopia (green-blind)
#9BB6F9
Tritanopia (blue-blind)
#CDAFC3
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #d2a2fc; /* rgb */ color: rgb(210, 162, 252); /* oklch */ color: oklch(78.9% 0.134 308.1);
Tailwind
colors: {
custom: {
50: '#e1befd',
500: '#d2a2fc',
950: '#000000',
},
}SCSS
$custom: #d2a2fc; $custom-light: #e1befd; $custom-dark: #000000;
JSON
{
"hex": "#d2a2fc",
"rgb": {
"r": 210,
"g": 162,
"b": 252
},
"hsl": {
"h": 272,
"s": 93.75,
"l": 81.176
},
"oklch": {
"l": 0.78877,
"c": 0.13368,
"h": 308.1
},
"luminance": 0.46571
}Semantic roles & 50–950 ramp
primary
#D2A2FC
secondary
#E4F6D5
accent
#E6006B
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185