#D4AAFF#D4AAFF
#D4AAFF is a light, vivid violet. Relative luminance 0.500; OKLCH L 80.6% C 0.125 H 306.4°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #D4AAFF |
|---|---|
| RGB | rgb(212, 170, 255) |
| HSL | hsl(270, 100%, 83%) |
| HSV | hsv(270, 33%, 100%) |
| CMYK | cmyk(16.9%, 33.3%, 0%, 0%) |
| CIE-LAB | lab(76.05, 31.13, -36.41) |
| CIE-LCH | lch(76.05, 47.91, 310.54°) |
| OKLab | oklab(80.58% 0.0741 -0.1004) |
| OKLCH | oklch(80.58% 0.125 306.4) |
| XYZ | xyz(59.5726, 49.9669, 101.0946) |
| Luminance | 0.4997 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 2.12
Lilac (survey)
#CEA2FD
ΔE00 2.12
Mauve
#E0B0FF
ΔE00 2.80
Light Violet
#D6B4FC
ΔE00 3.05
Pastel Purple
#CAA0FF
ΔE00 3.09
Lavender (survey)
#C79FEF
ΔE00 3.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4AAFF #D5FFAA
analogous
#AAAAFF #D4AAFF #FEAAFF
triadic
#D4AAFF #FFD4AA #AAFFD4
tetradic
#D4AAFF #FFAAAA #D5FFAA #AAFFFE
square
#D4AAFF #FFAAAA #D5FFAA #AAFFFE
split-complementary
#D4AAFF #FFFEAA #AAFFAA
monochromatic
#9630FF #B56DFF #D4AAFF #F0E0FF #F0E0FF
Accessibility & contrast
On white
1.91
#D4AAFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.99
#D4AAFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4AAFF
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4AAFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4AAFF | 1.00 | 1.91 | 10.99 | 10.99 |
| #FFFFFF | 1.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99BAFF
Deuteranopia (green-blind)
#A2BCFD
Tritanopia (blue-blind)
#CEB6C9
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #d4aaff; /* rgb */ color: rgb(212, 170, 255); /* oklch */ color: oklch(80.6% 0.125 306.4);
Tailwind
colors: {
custom: {
50: '#e2c3ff',
500: '#d4aaff',
950: '#000000',
},
}SCSS
$custom: #d4aaff; $custom-light: #e2c3ff; $custom-dark: #000000;
JSON
{
"hex": "#d4aaff",
"rgb": {
"r": 212,
"g": 170,
"b": 255
},
"hsl": {
"h": 269.647,
"s": 100,
"l": 83.333
},
"oklch": {
"l": 0.80583,
"c": 0.12477,
"h": 306.4
},
"luminance": 0.49966
}Semantic roles & 50–950 ramp
primary
#D4AAFF
secondary
#E6F7D4
accent
#E60074
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186