#B396BF#B396BF
#B396BF is a light, moderate purple. Relative luminance 0.352; OKLCH L 71.3% C 0.067 H 316.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B396BF |
|---|---|
| RGB | rgb(179, 150, 191) |
| HSL | hsl(282, 24%, 67%) |
| HSV | hsv(282, 21%, 75%) |
| CMYK | cmyk(6.3%, 21.5%, 0%, 25.1%) |
| CIE-LAB | lab(65.87, 18.33, -17.17) |
| CIE-LCH | lch(65.87, 25.11, 316.87°) |
| OKLab | oklab(71.29% 0.048 -0.0464) |
| OKLCH | oklch(71.29% 0.067 316) |
| XYZ | xyz(38.8993, 35.1585, 54.0172) |
| Luminance | 0.3516 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 4.90
Heather
#A484AC
ΔE00 5.65
Dusty Lavender
#AC86A8
ΔE00 5.80
Pale Purple
#B790D4
ΔE00 6.38
Lavender
#B39DDB
ΔE00 6.72
Plum
#DDA0DD
ΔE00 8.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B396BF #A2BF96
analogous
#9F96BF #B396BF #BF96B7
triadic
#B396BF #BFB396 #96BFB3
tetradic
#B396BF #BF9F96 #A2BF96 #96B7BF
square
#B396BF #BF9F96 #A2BF96 #96B7BF
split-complementary
#B396BF #B7BF96 #96BF9F
monochromatic
#785388 #9770A8 #B396BF #CFBCD6 #EAE2ED
Accessibility & contrast
On white
2.61
#B396BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#B396BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B396BF
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B396BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B396BF | 1.00 | 2.61 | 8.03 | 8.03 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#919EC1
Deuteranopia (green-blind)
#97A1BE
Tritanopia (blue-blind)
#B39AA4
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b396bf; /* rgb */ color: rgb(179, 150, 191); /* oklch */ color: oklch(71.3% 0.067 316.0);
Tailwind
colors: {
custom: {
50: '#cab5d2',
500: '#b396bf',
950: '#000000',
},
}SCSS
$custom: #b396bf; $custom-light: #cab5d2; $custom-dark: #000000;
JSON
{
"hex": "#b396bf",
"rgb": {
"r": 179,
"g": 150,
"b": 191
},
"hsl": {
"h": 282.439,
"s": 24.26,
"l": 66.863
},
"oklch": {
"l": 0.71288,
"c": 0.0668,
"h": 316
},
"luminance": 0.35158
}Semantic roles & 50–950 ramp
primary
#B396BF
secondary
#D6DFD2
accent
#A3435F
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131114
muted
#828082