#D8A3FC#D8A3FC
#D8A3FC is a light, vivid violet. Relative luminance 0.478; OKLCH L 79.6% C 0.134 H 310.9°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #D8A3FC |
|---|---|
| RGB | rgb(216, 163, 252) |
| HSL | hsl(276, 94%, 81%) |
| HSV | hsv(276, 35%, 99%) |
| CMYK | cmyk(14.3%, 35.3%, 0%, 1.2%) |
| CIE-LAB | lab(74.71, 35.48, -36.83) |
| CIE-LCH | lch(74.71, 51.14, 313.93°) |
| OKLab | oklab(79.62% 0.0878 -0.1015) |
| OKLCH | oklch(79.62% 0.134 310.9) |
| XYZ | xyz(58.9837, 47.8224, 98.2000) |
| Luminance | 0.4782 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 2.21
Baby Purple
#CA9BF7
ΔE00 2.96
Lavender (survey)
#C79FEF
ΔE00 3.23
Pastel Purple
#CAA0FF
ΔE00 3.27
Mauve
#E0B0FF
ΔE00 3.32
Pale Violet
#CEAEFA
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8A3FC #C7FCA3
analogous
#ACA3FC #D8A3FC #FCA3F4
triadic
#D8A3FC #FCD8A3 #A3FCD8
tetradic
#D8A3FC #FCACA3 #C7FCA3 #A3F4FC
square
#D8A3FC #FCACA3 #C7FCA3 #A3F4FC
split-complementary
#D8A3FC #F4FCA3 #A3FCAC
monochromatic
#A62CF8 #BF68FA #D8A3FC #F1DEFE #F2E1FE
Accessibility & contrast
On white
1.99
#D8A3FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.56
#D8A3FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8A3FC
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8A3FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8A3FC | 1.00 | 1.99 | 10.56 | 10.56 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93B5FF
Deuteranopia (green-blind)
#9FB9F9
Tritanopia (blue-blind)
#D4AFC4
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #d8a3fc; /* rgb */ color: rgb(216, 163, 252); /* oklch */ color: oklch(79.6% 0.134 310.9);
Tailwind
colors: {
custom: {
50: '#e5bffd',
500: '#d8a3fc',
950: '#000000',
},
}SCSS
$custom: #d8a3fc; $custom-light: #e5bffd; $custom-dark: #000000;
JSON
{
"hex": "#d8a3fc",
"rgb": {
"r": 216,
"g": 163,
"b": 252
},
"hsl": {
"h": 275.73,
"s": 93.684,
"l": 81.373
},
"oklch": {
"l": 0.79615,
"c": 0.1342,
"h": 310.9
},
"luminance": 0.47822
}Semantic roles & 50–950 ramp
primary
#D8A3FC
secondary
#E2F6D5
accent
#E6005D
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185