#D2B2FF#D2B2FF
#D2B2FF is a light, moderate violet. Relative luminance 0.528; OKLCH L 81.8% C 0.111 H 303.1°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #D2B2FF |
|---|---|
| RGB | rgb(210, 178, 255) |
| HSL | hsl(265, 100%, 85%) |
| HSV | hsv(265, 30%, 100%) |
| CMYK | cmyk(17.6%, 30.2%, 0%, 0%) |
| CIE-LAB | lab(77.73, 26.18, -33.82) |
| CIE-LCH | lch(77.73, 42.77, 307.75°) |
| OKLab | oklab(81.83% 0.0606 -0.0931) |
| OKLCH | oklch(81.83% 0.111 303.1) |
| XYZ | xyz(60.5451, 52.7625, 101.5829) |
| Luminance | 0.5276 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 1.07
Light Violet
#D6B4FC
ΔE00 1.45
Mauve
#E0B0FF
ΔE00 3.35
Lilac (survey)
#CEA2FD
ΔE00 4.19
Lavender (survey)
#C79FEF
ΔE00 4.77
Pastel Purple
#CAA0FF
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2B2FF #DFFFB2
analogous
#B2B9FF #D2B2FF #F8B2FF
triadic
#D2B2FF #FFD2B2 #B2FFD2
tetradic
#D2B2FF #FFB2B9 #DFFFB2 #B2FFF8
square
#D2B2FF #FFB2B9 #DFFFB2 #B2FFF8
split-complementary
#D2B2FF #FFF8B2 #B9FFB2
monochromatic
#8A38FF #AE75FF #D2B2FF #EDE0FF #EDE0FF
Accessibility & contrast
On white
1.82
#D2B2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.55
#D2B2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2B2FF
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2B2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2B2FF | 1.00 | 1.82 | 11.55 | 11.55 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2BFFF
Deuteranopia (green-blind)
#A8C0FD
Tritanopia (blue-blind)
#CBBDCE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d2b2ff; /* rgb */ color: rgb(210, 178, 255); /* oklch */ color: oklch(81.8% 0.111 303.1);
Tailwind
colors: {
custom: {
50: '#e0c9ff',
500: '#d2b2ff',
950: '#000000',
},
}SCSS
$custom: #d2b2ff; $custom-light: #e0c9ff; $custom-dark: #000000;
JSON
{
"hex": "#d2b2ff",
"rgb": {
"r": 210,
"g": 178,
"b": 255
},
"hsl": {
"h": 264.935,
"s": 100,
"l": 84.902
},
"oklch": {
"l": 0.81829,
"c": 0.11106,
"h": 303.1
},
"luminance": 0.52762
}Semantic roles & 50–950 ramp
primary
#D2B2FF
secondary
#B5E670
accent
#E60086
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286