#D2B2FB#D2B2FB
#D2B2FB is a light, moderate violet. Relative luminance 0.525; OKLCH L 81.7% C 0.106 H 304.2°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #D2B2FB |
|---|---|
| RGB | rgb(210, 178, 251) |
| HSL | hsl(266, 90%, 84%) |
| HSV | hsv(266, 29%, 98%) |
| CMYK | cmyk(16.3%, 29.1%, 0%, 1.6%) |
| CIE-LAB | lab(77.58, 25.32, -31.90) |
| CIE-LCH | lch(77.58, 40.73, 308.44°) |
| OKLab | oklab(81.66% 0.0596 -0.0876) |
| OKLCH | oklch(81.66% 0.106 304.2) |
| XYZ | xyz(59.9079, 52.5076, 98.2270) |
| Luminance | 0.5251 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 0.85
Pale Violet
#CEAEFA
ΔE00 1.17
Mauve
#E0B0FF
ΔE00 3.18
Lilac (survey)
#CEA2FD
ΔE00 4.53
Lavender (survey)
#C79FEF
ΔE00 4.74
Light Lavender
#DFC5FE
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2B2FB #DBFBB2
analogous
#B2B7FB #D2B2FB #F6B2FB
triadic
#D2B2FB #FBD2B2 #B2FBD2
tetradic
#D2B2FB #FBB2B7 #DBFBB2 #B2FBF6
square
#D2B2FB #FBB2B7 #DBFBB2 #B2FBF6
split-complementary
#D2B2FB #FBF6B2 #B7FBB2
monochromatic
#8E3EF5 #B078F8 #D2B2FB #EEE2FD #EEE2FD
Accessibility & contrast
On white
1.83
#D2B2FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.50
#D2B2FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2B2FB
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2B2FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2B2FB | 1.00 | 1.83 | 11.50 | 11.50 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4BFFE
Deuteranopia (green-blind)
#AAC0F9
Tritanopia (blue-blind)
#CCBDCC
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d2b2fb; /* rgb */ color: rgb(210, 178, 251); /* oklch */ color: oklch(81.7% 0.106 304.2);
Tailwind
colors: {
custom: {
50: '#e0c9fd',
500: '#d2b2fb',
950: '#000000',
},
}SCSS
$custom: #d2b2fb; $custom-light: #e0c9fd; $custom-dark: #000000;
JSON
{
"hex": "#d2b2fb",
"rgb": {
"r": 210,
"g": 178,
"b": 251
},
"hsl": {
"h": 266.301,
"s": 90.123,
"l": 84.118
},
"oklch": {
"l": 0.81663,
"c": 0.10595,
"h": 304.2
},
"luminance": 0.52507
}Semantic roles & 50–950 ramp
primary
#D2B2FB
secondary
#AFDF72
accent
#E60081
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285