#D8B2FF#D8B2FF
#D8B2FF is a very light, moderate violet. Relative luminance 0.537; OKLCH L 82.4% C 0.113 H 306.6°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #D8B2FF |
|---|---|
| RGB | rgb(216, 178, 255) |
| HSL | hsl(270, 100%, 85%) |
| HSV | hsv(270, 30%, 100%) |
| CMYK | cmyk(15.3%, 30.2%, 0%, 0%) |
| CIE-LAB | lab(78.26, 27.99, -32.96) |
| CIE-LCH | lch(78.26, 43.24, 310.34°) |
| OKLab | oklab(82.36% 0.0673 -0.0905) |
| OKLCH | oklch(82.36% 0.113 306.6) |
| XYZ | xyz(62.2859, 53.6601, 101.6645) |
| Luminance | 0.5366 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 1.05
Pale Violet
#CEAEFA
ΔE00 1.90
Mauve
#E0B0FF
ΔE00 1.99
Lilac (survey)
#CEA2FD
ΔE00 4.28
Lavender (survey)
#C79FEF
ΔE00 4.88
Pastel Purple
#CAA0FF
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8B2FF #D9FFB2
analogous
#B2B3FF #D8B2FF #FEB2FF
triadic
#D8B2FF #FFD8B2 #B2FFD8
tetradic
#D8B2FF #FFB2B3 #D9FFB2 #B2FFFE
square
#D8B2FF #FFB2B3 #D9FFB2 #B2FFFE
split-complementary
#D8B2FF #FFFEB2 #B3FFB2
monochromatic
#9A38FF #B975FF #D8B2FF #F0E0FF #F0E0FF
Accessibility & contrast
On white
1.79
#D8B2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.73
#D8B2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8B2FF
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8B2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8B2FF | 1.00 | 1.79 | 11.73 | 11.73 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3C0FF
Deuteranopia (green-blind)
#ABC2FD
Tritanopia (blue-blind)
#D3BDCE
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d8b2ff; /* rgb */ color: rgb(216, 178, 255); /* oklch */ color: oklch(82.4% 0.113 306.6);
Tailwind
colors: {
custom: {
50: '#e5c9ff',
500: '#d8b2ff',
950: '#000000',
},
}SCSS
$custom: #d8b2ff; $custom-light: #e5c9ff; $custom-dark: #000000;
JSON
{
"hex": "#d8b2ff",
"rgb": {
"r": 216,
"g": 178,
"b": 255
},
"hsl": {
"h": 269.61,
"s": 100,
"l": 84.902
},
"oklch": {
"l": 0.82359,
"c": 0.11279,
"h": 306.6
},
"luminance": 0.5366
}Semantic roles & 50–950 ramp
primary
#D8B2FF
secondary
#ABE670
accent
#E60074
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161318
muted
#848286