#D2AAEF#D2AAEF
#D2AAEF is a light, moderate violet. Relative luminance 0.487; OKLCH L 79.7% C 0.104 H 310.5°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #D2AAEF |
|---|---|
| RGB | rgb(210, 170, 239) |
| HSL | hsl(275, 68%, 80%) |
| HSV | hsv(275, 29%, 94%) |
| CMYK | cmyk(12.1%, 28.9%, 0%, 6.3%) |
| CIE-LAB | lab(75.25, 27.15, -29.01) |
| CIE-LCH | lch(75.25, 39.73, 313.11°) |
| OKLab | oklab(79.73% 0.0678 -0.0794) |
| OKLCH | oklch(79.73% 0.104 310.5) |
| XYZ | xyz(56.5303, 48.6837, 88.0635) |
| Luminance | 0.4868 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 2.88
Pale Violet
#CEAEFA
ΔE00 2.94
Mauve
#E0B0FF
ΔE00 3.03
Lavender (survey)
#C79FEF
ΔE00 3.64
Lilac (survey)
#CEA2FD
ΔE00 4.43
Baby Purple
#CA9BF7
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2AAEF #C7EFAA
analogous
#B0AAEF #D2AAEF #EFAAE9
triadic
#D2AAEF #EFD2AA #AAEFD2
tetradic
#D2AAEF #EFB0AA #C7EFAA #AAE9EF
square
#D2AAEF #EFB0AA #C7EFAA #AAE9EF
split-complementary
#D2AAEF #E9EFAA #AAEFB0
monochromatic
#9B43DC #B776E5 #D2AAEF #EDDEF9 #F1E5FA
Accessibility & contrast
On white
1.96
#D2AAEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.74
#D2AAEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2AAEF
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2AAEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2AAEF | 1.00 | 1.96 | 10.74 | 10.74 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9FB7F2
Deuteranopia (green-blind)
#A7BAED
Tritanopia (blue-blind)
#CFB3C3
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #d2aaef; /* rgb */ color: rgb(210, 170, 239); /* oklch */ color: oklch(79.7% 0.104 310.5);
Tailwind
colors: {
custom: {
50: '#e0c3f4',
500: '#d2aaef',
950: '#000000',
},
}SCSS
$custom: #d2aaef; $custom-light: #e0c3f4; $custom-dark: #000000;
JSON
{
"hex": "#d2aaef",
"rgb": {
"r": 210,
"g": 170,
"b": 239
},
"hsl": {
"h": 274.783,
"s": 68.317,
"l": 80.196
},
"oklch": {
"l": 0.79732,
"c": 0.10438,
"h": 310.5
},
"luminance": 0.48683
}Semantic roles & 50–950 ramp
primary
#D2AAEF
secondary
#E4F2D9
accent
#D01564
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185