#B397BF#B397BF
#B397BF is a light, moderate purple. Relative luminance 0.355; OKLCH L 71.5% C 0.065 H 315.7°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B397BF |
|---|---|
| RGB | rgb(179, 151, 191) |
| HSL | hsl(282, 24%, 67%) |
| HSV | hsv(282, 21%, 75%) |
| CMYK | cmyk(6.3%, 20.9%, 0%, 25.1%) |
| CIE-LAB | lab(66.12, 17.77, -16.79) |
| CIE-LCH | lch(66.12, 24.45, 316.62°) |
| OKLab | oklab(71.48% 0.0465 -0.0454) |
| OKLCH | oklch(71.48% 0.065 315.7) |
| XYZ | xyz(39.0595, 35.4790, 54.0706) |
| Luminance | 0.3548 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 4.79
Heather
#A484AC
ΔE00 5.89
Dusty Lavender
#AC86A8
ΔE00 5.98
Pale Purple
#B790D4
ΔE00 6.66
Lavender
#B39DDB
ΔE00 6.77
Plum
#DDA0DD
ΔE00 8.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B397BF #A3BF97
analogous
#9F97BF #B397BF #BF97B7
triadic
#B397BF #BFB397 #97BFB3
tetradic
#B397BF #BF9F97 #A3BF97 #97B7BF
square
#B397BF #BF9F97 #A3BF97 #97B7BF
split-complementary
#B397BF #B7BF97 #97BF9F
monochromatic
#785488 #9771A8 #B397BF #CFBDD6 #EAE3EE
Accessibility & contrast
On white
2.59
#B397BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#B397BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B397BF
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B397BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B397BF | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#929FC1
Deuteranopia (green-blind)
#98A2BE
Tritanopia (blue-blind)
#B39BA5
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b397bf; /* rgb */ color: rgb(179, 151, 191); /* oklch */ color: oklch(71.5% 0.065 315.7);
Tailwind
colors: {
custom: {
50: '#cab5d2',
500: '#b397bf',
950: '#000000',
},
}SCSS
$custom: #b397bf; $custom-light: #cab5d2; $custom-dark: #000000;
JSON
{
"hex": "#b397bf",
"rgb": {
"r": 179,
"g": 151,
"b": 191
},
"hsl": {
"h": 282,
"s": 23.81,
"l": 67.059
},
"oklch": {
"l": 0.71479,
"c": 0.06499,
"h": 315.7
},
"luminance": 0.35479
}Semantic roles & 50–950 ramp
primary
#B397BF
secondary
#D6DFD3
accent
#A24360
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131114
muted
#828082