#D8A0FE#D8A0FE
#D8A0FE is a light, vivid violet. Relative luminance 0.469; OKLCH L 79.2% C 0.142 H 310.8°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #D8A0FE |
|---|---|
| RGB | rgb(216, 160, 254) |
| HSL | hsl(276, 98%, 81%) |
| HSV | hsv(276, 37%, 100%) |
| CMYK | cmyk(15%, 37%, 0%, 0.4%) |
| CIE-LAB | lab(74.12, 37.52, -38.83) |
| CIE-LCH | lch(74.12, 53.99, 314.02°) |
| OKLab | oklab(79.2% 0.0925 -0.1072) |
| OKLCH | oklch(79.2% 0.142 310.8) |
| XYZ | xyz(58.7759, 46.8971, 99.7025) |
| Luminance | 0.4690 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 2.20
Baby Purple
#CA9BF7
ΔE00 2.60
Pastel Purple
#CAA0FF
ΔE00 3.04
Lavender (survey)
#C79FEF
ΔE00 3.49
Mauve
#E0B0FF
ΔE00 4.17
Pale Violet
#CEAEFA
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8A0FE #C6FEA0
analogous
#A9A0FE #D8A0FE #FEA0F5
triadic
#D8A0FE #FED8A0 #A0FED8
tetradic
#D8A0FE #FEA9A0 #C6FEA0 #A0F5FE
square
#D8A0FE #FEA9A0 #C6FEA0 #A0F5FE
split-complementary
#D8A0FE #F5FEA0 #A0FEA9
monochromatic
#A627FD #BF63FD #D8A0FE #F1DDFF #F3E1FF
Accessibility & contrast
On white
2.02
#D8A0FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.38
#D8A0FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8A0FE
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8A0FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8A0FE | 1.00 | 2.02 | 10.38 | 10.38 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EB3FF
Deuteranopia (green-blind)
#9BB7FB
Tritanopia (blue-blind)
#D4ADC3
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #d8a0fe; /* rgb */ color: rgb(216, 160, 254); /* oklch */ color: oklch(79.2% 0.142 310.8);
Tailwind
colors: {
custom: {
50: '#e5bdff',
500: '#d8a0fe',
950: '#000000',
},
}SCSS
$custom: #d8a0fe; $custom-light: #e5bdff; $custom-dark: #000000;
JSON
{
"hex": "#d8a0fe",
"rgb": {
"r": 216,
"g": 160,
"b": 254
},
"hsl": {
"h": 275.745,
"s": 97.917,
"l": 81.176
},
"oklch": {
"l": 0.79196,
"c": 0.14156,
"h": 310.8
},
"luminance": 0.46896
}Semantic roles & 50–950 ramp
primary
#D8A0FE
secondary
#E2F7D4
accent
#E6005D
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161218
muted
#848186