#D8A8FC#D8A8FC
#D8A8FC is a light, vivid violet. Relative luminance 0.496; OKLCH L 80.5% C 0.126 H 309.9°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #D8A8FC |
|---|---|
| RGB | rgb(216, 168, 252) |
| HSL | hsl(274, 93%, 82%) |
| HSV | hsv(274, 33%, 99%) |
| CMYK | cmyk(14.3%, 33.3%, 0%, 1.2%) |
| CIE-LAB | lab(75.84, 32.78, -35.08) |
| CIE-LCH | lch(75.84, 48.01, 313.06°) |
| OKLab | oklab(80.47% 0.0807 -0.0965) |
| OKLCH | oklch(80.47% 0.126 309.9) |
| XYZ | xyz(59.8891, 49.6332, 98.5018) |
| Luminance | 0.4963 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mauve
#E0B0FF
ΔE00 2.21
Lilac (survey)
#CEA2FD
ΔE00 2.56
Pale Violet
#CEAEFA
ΔE00 3.09
Lavender (survey)
#C79FEF
ΔE00 3.38
Light Violet
#D6B4FC
ΔE00 3.50
Pastel Purple
#CAA0FF
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8A8FC #CCFCA8
analogous
#AEA8FC #D8A8FC #FCA8F6
triadic
#D8A8FC #FCD8A8 #A8FCD8
tetradic
#D8A8FC #FCAEA8 #CCFCA8 #A8F6FC
square
#D8A8FC #FCAEA8 #CCFCA8 #A8F6FC
split-complementary
#D8A8FC #F6FCA8 #A8FCAE
monochromatic
#A332F8 #BD6DFA #D8A8FC #F2E1FE #F2E1FE
Accessibility & contrast
On white
1.92
#D8A8FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.93
#D8A8FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8A8FC
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8A8FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8A8FC | 1.00 | 1.92 | 10.93 | 10.93 |
| #FFFFFF | 1.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99B9FF
Deuteranopia (green-blind)
#A3BCFA
Tritanopia (blue-blind)
#D4B4C7
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #d8a8fc; /* rgb */ color: rgb(216, 168, 252); /* oklch */ color: oklch(80.5% 0.126 309.9);
Tailwind
colors: {
custom: {
50: '#e5c2fd',
500: '#d8a8fc',
950: '#000000',
},
}SCSS
$custom: #d8a8fc; $custom-light: #e5c2fd; $custom-dark: #000000;
JSON
{
"hex": "#d8a8fc",
"rgb": {
"r": 216,
"g": 168,
"b": 252
},
"hsl": {
"h": 274.286,
"s": 93.333,
"l": 82.353
},
"oklch": {
"l": 0.80475,
"c": 0.12582,
"h": 309.9
},
"luminance": 0.49632
}Semantic roles & 50–950 ramp
primary
#D8A8FC
secondary
#E3F6D5
accent
#E60062
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185