#BB96D4#BB96D4
#BB96D4 is a light, moderate violet. Relative luminance 0.371; OKLCH L 72.9% C 0.096 H 311.2°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #BB96D4 |
|---|---|
| RGB | rgb(187, 150, 212) |
| HSL | hsl(276, 42%, 71%) |
| HSV | hsv(276, 29%, 83%) |
| CMYK | cmyk(11.8%, 29.2%, 0%, 16.9%) |
| CIE-LAB | lab(67.38, 25.30, -26.50) |
| CIE-LCH | lch(67.38, 36.63, 313.67°) |
| OKLab | oklab(72.87% 0.0635 -0.0725) |
| OKLCH | oklch(72.87% 0.096 311.2) |
| XYZ | xyz(43.2815, 37.1315, 67.1616) |
| Luminance | 0.3713 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 1.98
Lavender
#B39DDB
ΔE00 3.81
Lavender (survey)
#C79FEF
ΔE00 4.93
Baby Purple
#CA9BF7
ΔE00 6.35
Plum
#DDA0DD
ΔE00 6.98
Lilac
#C8A2C8
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB96D4 #AFD496
analogous
#9C96D4 #BB96D4 #D496CE
triadic
#BB96D4 #D4BB96 #96D4BB
tetradic
#BB96D4 #D49C96 #AFD496 #96CED4
square
#BB96D4 #D49C96 #AFD496 #96CED4
split-complementary
#BB96D4 #CED496 #96D49C
monochromatic
#8246AA #9F6BC2 #BB96D4 #D7C1E6 #F1E9F6
Accessibility & contrast
On white
2.49
#BB96D4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#BB96D4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB96D4
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB96D4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB96D4 | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8CA2D7
Deuteranopia (green-blind)
#94A5D2
Tritanopia (blue-blind)
#B99EAC
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #bb96d4; /* rgb */ color: rgb(187, 150, 212); /* oklch */ color: oklch(72.9% 0.096 311.2);
Tailwind
colors: {
custom: {
50: '#d0b5e1',
500: '#bb96d4',
950: '#000000',
},
}SCSS
$custom: #bb96d4; $custom-light: #d0b5e1; $custom-dark: #000000;
JSON
{
"hex": "#bb96d4",
"rgb": {
"r": 187,
"g": 150,
"b": 212
},
"hsl": {
"h": 275.806,
"s": 41.892,
"l": 70.98
},
"oklch": {
"l": 0.72868,
"c": 0.09638,
"h": 311.2
},
"luminance": 0.37131
}Semantic roles & 50–950 ramp
primary
#BB96D4
secondary
#E1EBDB
accent
#B53166
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083