#D4ABFF#D4ABFF
#D4ABFF is a light, vivid violet. Relative luminance 0.503; OKLCH L 80.8% C 0.123 H 306.2°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #D4ABFF |
|---|---|
| RGB | rgb(212, 171, 255) |
| HSL | hsl(269, 100%, 84%) |
| HSV | hsv(269, 33%, 100%) |
| CMYK | cmyk(16.9%, 32.9%, 0%, 0%) |
| CIE-LAB | lab(76.28, 30.59, -36.05) |
| CIE-LCH | lch(76.28, 47.28, 310.32°) |
| OKLab | oklab(80.76% 0.0727 -0.0994) |
| OKLCH | oklch(80.76% 0.123 306.2) |
| XYZ | xyz(59.7608, 50.3432, 101.1573) |
| Luminance | 0.5034 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 1.90
Lilac (survey)
#CEA2FD
ΔE00 2.36
Mauve
#E0B0FF
ΔE00 2.71
Light Violet
#D6B4FC
ΔE00 2.79
Pastel Purple
#CAA0FF
ΔE00 3.29
Lavender (survey)
#C79FEF
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4ABFF #D6FFAB
analogous
#ABACFF #D4ABFF #FEABFF
triadic
#D4ABFF #FFD4AB #ABFFD4
tetradic
#D4ABFF #FFABAC #D6FFAB #ABFFFE
square
#D4ABFF #FFABAC #D6FFAB #ABFFFE
split-complementary
#D4ABFF #FFFEAB #ACFFAB
monochromatic
#9531FF #B56EFF #D4ABFF #EFE0FF #EFE0FF
Accessibility & contrast
On white
1.90
#D4ABFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.07
#D4ABFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4ABFF
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4ABFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4ABFF | 1.00 | 1.90 | 11.07 | 11.07 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9ABBFF
Deuteranopia (green-blind)
#A3BCFD
Tritanopia (blue-blind)
#CEB7CA
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #d4abff; /* rgb */ color: rgb(212, 171, 255); /* oklch */ color: oklch(80.8% 0.123 306.2);
Tailwind
colors: {
custom: {
50: '#e2c4ff',
500: '#d4abff',
950: '#000000',
},
}SCSS
$custom: #d4abff; $custom-light: #e2c4ff; $custom-dark: #000000;
JSON
{
"hex": "#d4abff",
"rgb": {
"r": 212,
"g": 171,
"b": 255
},
"hsl": {
"h": 269.286,
"s": 100,
"l": 83.529
},
"oklch": {
"l": 0.80759,
"c": 0.12312,
"h": 306.2
},
"luminance": 0.50343
}Semantic roles & 50–950 ramp
primary
#D4ABFF
secondary
#A9E56A
accent
#E60075
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151218
muted
#848286