#D8A7FB#D8A7FB
#D8A7FB is a light, vivid violet. Relative luminance 0.492; OKLCH L 80.3% C 0.126 H 310.4°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #D8A7FB |
|---|---|
| RGB | rgb(216, 167, 251) |
| HSL | hsl(275, 91%, 82%) |
| HSV | hsv(275, 33%, 98%) |
| CMYK | cmyk(13.9%, 33.5%, 0%, 1.6%) |
| CIE-LAB | lab(75.58, 33.11, -34.95) |
| CIE-LCH | lch(75.58, 48.14, 313.45°) |
| OKLab | oklab(80.26% 0.0819 -0.0961) |
| OKLCH | oklch(80.26% 0.126 310.4) |
| XYZ | xyz(59.5471, 49.2021, 97.6081) |
| Luminance | 0.4920 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mauve
#E0B0FF
ΔE00 2.35
Lilac (survey)
#CEA2FD
ΔE00 2.57
Lavender (survey)
#C79FEF
ΔE00 3.30
Pale Violet
#CEAEFA
ΔE00 3.30
Baby Purple
#CA9BF7
ΔE00 3.66
Pastel Purple
#CAA0FF
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8A7FB #CAFBA7
analogous
#AEA7FB #D8A7FB #FBA7F4
triadic
#D8A7FB #FBD8A7 #A7FBD8
tetradic
#D8A7FB #FBAEA7 #CAFBA7 #A7F4FB
square
#D8A7FB #FBAEA7 #CAFBA7 #A7F4FB
split-complementary
#D8A7FB #F4FBA7 #A7FBAE
monochromatic
#A432F6 #BE6CF8 #D8A7FB #F2E2FE #F2E2FE
Accessibility & contrast
On white
1.94
#D8A7FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.84
#D8A7FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8A7FB
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8A7FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8A7FB | 1.00 | 1.94 | 10.84 | 10.84 |
| #FFFFFF | 1.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98B8FE
Deuteranopia (green-blind)
#A3BBF9
Tritanopia (blue-blind)
#D4B3C6
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #d8a7fb; /* rgb */ color: rgb(216, 167, 251); /* oklch */ color: oklch(80.3% 0.126 310.4);
Tailwind
colors: {
custom: {
50: '#e5c1fd',
500: '#d8a7fb',
950: '#000000',
},
}SCSS
$custom: #d8a7fb; $custom-light: #e5c1fd; $custom-dark: #000000;
JSON
{
"hex": "#d8a7fb",
"rgb": {
"r": 216,
"g": 167,
"b": 251
},
"hsl": {
"h": 275,
"s": 91.304,
"l": 81.961
},
"oklch": {
"l": 0.80259,
"c": 0.1263,
"h": 310.4
},
"luminance": 0.49201
}Semantic roles & 50–950 ramp
primary
#D8A7FB
secondary
#E3F6D5
accent
#E60060
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185