#D8A0FB#D8A0FB
#D8A0FB is a light, vivid violet. Relative luminance 0.467; OKLCH L 79.1% C 0.138 H 311.7°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #D8A0FB |
|---|---|
| RGB | rgb(216, 160, 251) |
| HSL | hsl(277, 92%, 81%) |
| HSV | hsv(277, 36%, 98%) |
| CMYK | cmyk(13.9%, 36.3%, 0%, 1.6%) |
| CIE-LAB | lab(74.00, 36.89, -37.39) |
| CIE-LCH | lch(74.00, 52.53, 314.61°) |
| OKLab | oklab(79.06% 0.0918 -0.1031) |
| OKLCH | oklch(79.06% 0.138 311.7) |
| XYZ | xyz(58.2993, 46.7065, 97.1921) |
| Luminance | 0.4671 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 2.43
Baby Purple
#CA9BF7
ΔE00 2.73
Lavender (survey)
#C79FEF
ΔE00 3.33
Pastel Purple
#CAA0FF
ΔE00 3.36
Mauve
#E0B0FF
ΔE00 3.97
Pale Violet
#CEAEFA
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8A0FB #C3FBA0
analogous
#AAA0FB #D8A0FB #FBA0F0
triadic
#D8A0FB #FBD8A0 #A0FBD8
tetradic
#D8A0FB #FBAAA0 #C3FBA0 #A0F0FB
square
#D8A0FB #FBAAA0 #C3FBA0 #A0F0FB
split-complementary
#D8A0FB #F0FBA0 #A0FBAA
monochromatic
#A82BF6 #C065F9 #D8A0FB #F0DBFD #F3E2FE
Accessibility & contrast
On white
2.03
#D8A0FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.34
#D8A0FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8A0FB
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8A0FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8A0FB | 1.00 | 2.03 | 10.34 | 10.34 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90B3FE
Deuteranopia (green-blind)
#9DB7F8
Tritanopia (blue-blind)
#D5ADC2
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #d8a0fb; /* rgb */ color: rgb(216, 160, 251); /* oklch */ color: oklch(79.1% 0.138 311.7);
Tailwind
colors: {
custom: {
50: '#e5bdfd',
500: '#d8a0fb',
950: '#000000',
},
}SCSS
$custom: #d8a0fb; $custom-light: #e5bdfd; $custom-dark: #000000;
JSON
{
"hex": "#d8a0fb",
"rgb": {
"r": 216,
"g": 160,
"b": 251
},
"hsl": {
"h": 276.923,
"s": 91.919,
"l": 80.588
},
"oklch": {
"l": 0.79063,
"c": 0.13805,
"h": 311.7
},
"luminance": 0.46706
}Semantic roles & 50–950 ramp
primary
#D8A0FB
secondary
#E2F6D5
accent
#E60058
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185