#B797BF#B797BF
#B797BF is a light, moderate purple. Relative luminance 0.360; OKLCH L 71.9% C 0.067 H 319.5°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B797BF |
|---|---|
| RGB | rgb(183, 151, 191) |
| HSL | hsl(288, 24%, 67%) |
| HSV | hsv(288, 21%, 75%) |
| CMYK | cmyk(4.2%, 20.9%, 0%, 25.1%) |
| CIE-LAB | lab(66.49, 19.12, -16.20) |
| CIE-LCH | lch(66.49, 25.06, 319.74°) |
| OKLab | oklab(71.85% 0.0511 -0.0437) |
| OKLCH | oklch(71.85% 0.067 319.5) |
| XYZ | xyz(39.9977, 35.9628, 54.1146) |
| Luminance | 0.3596 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 4.01
Dusty Lavender
#AC86A8
ΔE00 5.73
Heather
#A484AC
ΔE00 6.07
Pale Purple
#B790D4
ΔE00 6.79
Lavender
#B39DDB
ΔE00 7.30
Plum
#DDA0DD
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B797BF #9FBF97
analogous
#A397BF #B797BF #BF97B3
triadic
#B797BF #BFB797 #97BFB7
tetradic
#B797BF #BFA397 #9FBF97 #97B3BF
square
#B797BF #BFA397 #9FBF97 #97B3BF
split-complementary
#B797BF #B3BF97 #97BFA3
monochromatic
#7D5488 #9D71A8 #B797BF #D1BDD6 #EBE3EE
Accessibility & contrast
On white
2.56
#B797BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#B797BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B797BF
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B797BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B797BF | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93A0C1
Deuteranopia (green-blind)
#9AA3BE
Tritanopia (blue-blind)
#B89BA5
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b797bf; /* rgb */ color: rgb(183, 151, 191); /* oklch */ color: oklch(71.9% 0.067 319.5);
Tailwind
colors: {
custom: {
50: '#cdb5d2',
500: '#b797bf',
950: '#000000',
},
}SCSS
$custom: #b797bf; $custom-light: #cdb5d2; $custom-dark: #000000;
JSON
{
"hex": "#b797bf",
"rgb": {
"r": 183,
"g": 151,
"b": 191
},
"hsl": {
"h": 288,
"s": 23.81,
"l": 67.059
},
"oklch": {
"l": 0.71853,
"c": 0.06722,
"h": 319.5
},
"luminance": 0.35962
}Semantic roles & 50–950 ramp
primary
#B797BF
secondary
#D5DFD3
accent
#A24356
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131114
muted
#828082