#D8A3FB#D8A3FB
#D8A3FB is a light, vivid violet. Relative luminance 0.478; OKLCH L 79.6% C 0.133 H 311.2°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #D8A3FB |
|---|---|
| RGB | rgb(216, 163, 251) |
| HSL | hsl(276, 92%, 81%) |
| HSV | hsv(276, 35%, 98%) |
| CMYK | cmyk(13.9%, 35.1%, 0%, 1.6%) |
| CIE-LAB | lab(74.67, 35.27, -36.35) |
| CIE-LCH | lch(74.67, 50.65, 314.13°) |
| OKLab | oklab(79.57% 0.0876 -0.1001) |
| OKLCH | oklch(79.57% 0.133 311.2) |
| XYZ | xyz(58.8257, 47.7592, 97.3676) |
| Luminance | 0.4776 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 2.32
Baby Purple
#CA9BF7
ΔE00 3.03
Lavender (survey)
#C79FEF
ΔE00 3.20
Mauve
#E0B0FF
ΔE00 3.26
Pastel Purple
#CAA0FF
ΔE00 3.40
Pale Violet
#CEAEFA
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8A3FB #C6FBA3
analogous
#ACA3FB #D8A3FB #FBA3F2
triadic
#D8A3FB #FBD8A3 #A3FBD8
tetradic
#D8A3FB #FBACA3 #C6FBA3 #A3F2FB
square
#D8A3FB #FBACA3 #C6FBA3 #A3F2FB
split-complementary
#D8A3FB #F2FBA3 #A3FBAC
monochromatic
#A62EF6 #BF68F8 #D8A3FB #F1DEFE #F3E2FE
Accessibility & contrast
On white
1.99
#D8A3FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.55
#D8A3FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8A3FB
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8A3FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8A3FB | 1.00 | 1.99 | 10.55 | 10.55 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93B5FE
Deuteranopia (green-blind)
#9FB9F8
Tritanopia (blue-blind)
#D4AFC4
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #d8a3fb; /* rgb */ color: rgb(216, 163, 251); /* oklch */ color: oklch(79.6% 0.133 311.2);
Tailwind
colors: {
custom: {
50: '#e5bffd',
500: '#d8a3fb',
950: '#000000',
},
}SCSS
$custom: #d8a3fb; $custom-light: #e5bffd; $custom-dark: #000000;
JSON
{
"hex": "#d8a3fb",
"rgb": {
"r": 216,
"g": 163,
"b": 251
},
"hsl": {
"h": 276.136,
"s": 91.667,
"l": 81.176
},
"oklch": {
"l": 0.79572,
"c": 0.13302,
"h": 311.2
},
"luminance": 0.47758
}Semantic roles & 50–950 ramp
primary
#D8A3FB
secondary
#E2F6D5
accent
#E6005B
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185