#D8A4FC#D8A4FC
#D8A4FC is a light, vivid violet. Relative luminance 0.482; OKLCH L 79.8% C 0.133 H 310.7°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #D8A4FC |
|---|---|
| RGB | rgb(216, 164, 252) |
| HSL | hsl(275, 94%, 82%) |
| HSV | hsv(275, 35%, 99%) |
| CMYK | cmyk(14.3%, 34.9%, 0%, 1.2%) |
| CIE-LAB | lab(74.94, 34.94, -36.48) |
| CIE-LCH | lch(74.94, 50.51, 313.76°) |
| OKLab | oklab(79.79% 0.0864 -0.1005) |
| OKLCH | oklch(79.79% 0.133 310.7) |
| XYZ | xyz(59.1620, 48.1789, 98.2594) |
| Luminance | 0.4818 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 2.22
Mauve
#E0B0FF
ΔE00 3.08
Baby Purple
#CA9BF7
ΔE00 3.10
Lavender (survey)
#C79FEF
ΔE00 3.22
Pastel Purple
#CAA0FF
ΔE00 3.32
Pale Violet
#CEAEFA
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8A4FC #C8FCA4
analogous
#ACA4FC #D8A4FC #FCA4F4
triadic
#D8A4FC #FCD8A4 #A4FCD8
tetradic
#D8A4FC #FCACA4 #C8FCA4 #A4F4FC
square
#D8A4FC #FCACA4 #C8FCA4 #A4F4FC
split-complementary
#D8A4FC #F4FCA4 #A4FCAC
monochromatic
#A52EF8 #BF69FA #D8A4FC #F1DFFE #F2E1FE
Accessibility & contrast
On white
1.97
#D8A4FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.64
#D8A4FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8A4FC
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8A4FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8A4FC | 1.00 | 1.97 | 10.64 | 10.64 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94B6FF
Deuteranopia (green-blind)
#A0BAF9
Tritanopia (blue-blind)
#D4B0C5
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #d8a4fc; /* rgb */ color: rgb(216, 164, 252); /* oklch */ color: oklch(79.8% 0.133 310.7);
Tailwind
colors: {
custom: {
50: '#e5bffd',
500: '#d8a4fc',
950: '#000000',
},
}SCSS
$custom: #d8a4fc; $custom-light: #e5bffd; $custom-dark: #000000;
JSON
{
"hex": "#d8a4fc",
"rgb": {
"r": 216,
"g": 164,
"b": 252
},
"hsl": {
"h": 275.455,
"s": 93.617,
"l": 81.569
},
"oklch": {
"l": 0.79786,
"c": 0.13252,
"h": 310.7
},
"luminance": 0.48178
}Semantic roles & 50–950 ramp
primary
#D8A4FC
secondary
#E2F6D5
accent
#E6005E
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185