#D7B2FF#D7B2FF
#D7B2FF is a very light, moderate violet. Relative luminance 0.535; OKLCH L 82.3% C 0.112 H 306.0°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #D7B2FF |
|---|---|
| RGB | rgb(215, 178, 255) |
| HSL | hsl(269, 100%, 85%) |
| HSV | hsv(269, 30%, 100%) |
| CMYK | cmyk(15.7%, 30.2%, 0%, 0%) |
| CIE-LAB | lab(78.17, 27.69, -33.10) |
| CIE-LCH | lch(78.17, 43.15, 309.91°) |
| OKLab | oklab(82.27% 0.0662 -0.0909) |
| OKLCH | oklch(82.27% 0.112 306) |
| XYZ | xyz(61.9912, 53.5082, 101.6507) |
| Luminance | 0.5351 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 1.00
Pale Violet
#CEAEFA
ΔE00 1.71
Mauve
#E0B0FF
ΔE00 2.21
Lilac (survey)
#CEA2FD
ΔE00 4.23
Lavender (survey)
#C79FEF
ΔE00 4.84
Pastel Purple
#CAA0FF
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7B2FF #DAFFB2
analogous
#B2B4FF #D7B2FF #FDB2FF
triadic
#D7B2FF #FFD7B2 #B2FFD7
tetradic
#D7B2FF #FFB2B4 #DAFFB2 #B2FFFD
square
#D7B2FF #FFB2B4 #DAFFB2 #B2FFFD
split-complementary
#D7B2FF #FFFDB2 #B4FFB2
monochromatic
#9738FF #B775FF #D7B2FF #EFE0FF #EFE0FF
Accessibility & contrast
On white
1.79
#D7B2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.70
#D7B2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7B2FF
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7B2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7B2FF | 1.00 | 1.79 | 11.70 | 11.70 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3C0FF
Deuteranopia (green-blind)
#ABC2FD
Tritanopia (blue-blind)
#D1BDCE
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d7b2ff; /* rgb */ color: rgb(215, 178, 255); /* oklch */ color: oklch(82.3% 0.112 306.0);
Tailwind
colors: {
custom: {
50: '#e4c9ff',
500: '#d7b2ff',
950: '#000000',
},
}SCSS
$custom: #d7b2ff; $custom-light: #e4c9ff; $custom-dark: #000000;
JSON
{
"hex": "#d7b2ff",
"rgb": {
"r": 215,
"g": 178,
"b": 255
},
"hsl": {
"h": 268.831,
"s": 100,
"l": 84.902
},
"oklch": {
"l": 0.8227,
"c": 0.11248,
"h": 306
},
"luminance": 0.53508
}Semantic roles & 50–950 ramp
primary
#D7B2FF
secondary
#ADE670
accent
#E60077
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286