#D8A8FD#D8A8FD
#D8A8FD is a light, vivid violet. Relative luminance 0.497; OKLCH L 80.5% C 0.127 H 309.6°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #D8A8FD |
|---|---|
| RGB | rgb(216, 168, 253) |
| HSL | hsl(274, 96%, 83%) |
| HSV | hsv(274, 34%, 99%) |
| CMYK | cmyk(14.6%, 33.6%, 0%, 0.8%) |
| CIE-LAB | lab(75.88, 32.99, -35.56) |
| CIE-LCH | lch(75.88, 48.50, 312.85°) |
| OKLab | oklab(80.52% 0.0809 -0.0979) |
| OKLCH | oklch(80.52% 0.127 309.6) |
| XYZ | xyz(60.0480, 49.6967, 99.3385) |
| Luminance | 0.4970 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mauve
#E0B0FF
ΔE00 2.29
Lilac (survey)
#CEA2FD
ΔE00 2.44
Pale Violet
#CEAEFA
ΔE00 3.08
Lavender (survey)
#C79FEF
ΔE00 3.41
Light Violet
#D6B4FC
ΔE00 3.55
Pastel Purple
#CAA0FF
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8A8FD #CDFDA8
analogous
#ADA8FD #D8A8FD #FDA8F8
triadic
#D8A8FD #FDD8A8 #A8FDD8
tetradic
#D8A8FD #FDADA8 #CDFDA8 #A8F8FD
square
#D8A8FD #FDADA8 #CDFDA8 #A8F8FD
split-complementary
#D8A8FD #F8FDA8 #A8FDAD
monochromatic
#A230FA #BD6CFC #D8A8FD #F2E1FE #F2E1FE
Accessibility & contrast
On white
1.92
#D8A8FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.94
#D8A8FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8A8FD
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8A8FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8A8FD | 1.00 | 1.92 | 10.94 | 10.94 |
| #FFFFFF | 1.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98B9FF
Deuteranopia (green-blind)
#A3BCFB
Tritanopia (blue-blind)
#D4B4C7
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #d8a8fd; /* rgb */ color: rgb(216, 168, 253); /* oklch */ color: oklch(80.5% 0.127 309.6);
Tailwind
colors: {
custom: {
50: '#e5c2fe',
500: '#d8a8fd',
950: '#000000',
},
}SCSS
$custom: #d8a8fd; $custom-light: #e5c2fe; $custom-dark: #000000;
JSON
{
"hex": "#d8a8fd",
"rgb": {
"r": 216,
"g": 168,
"b": 253
},
"hsl": {
"h": 273.882,
"s": 95.506,
"l": 82.549
},
"oklch": {
"l": 0.80517,
"c": 0.12702,
"h": 309.6
},
"luminance": 0.49696
}Semantic roles & 50–950 ramp
primary
#D8A8FD
secondary
#E3F7D4
accent
#E60064
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161218
muted
#848186