#B796BF#B796BF
#B796BF is a light, moderate purple. Relative luminance 0.356; OKLCH L 71.7% C 0.069 H 319.6°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B796BF |
|---|---|
| RGB | rgb(183, 150, 191) |
| HSL | hsl(288, 24%, 67%) |
| HSV | hsv(288, 21%, 75%) |
| CMYK | cmyk(4.2%, 21.5%, 0%, 25.1%) |
| CIE-LAB | lab(66.25, 19.68, -16.57) |
| CIE-LCH | lch(66.25, 25.72, 319.91°) |
| OKLab | oklab(71.66% 0.0526 -0.0447) |
| OKLCH | oklch(71.66% 0.069 319.6) |
| XYZ | xyz(39.8374, 35.6423, 54.0611) |
| Luminance | 0.3564 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 4.18
Dusty Lavender
#AC86A8
ΔE00 5.57
Heather
#A484AC
ΔE00 5.87
Pale Purple
#B790D4
ΔE00 6.53
Lavender
#B39DDB
ΔE00 7.26
Plum
#DDA0DD
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B796BF #9EBF96
analogous
#A396BF #B796BF #BF96B3
triadic
#B796BF #BFB796 #96BFB7
tetradic
#B796BF #BFA396 #9EBF96 #96B3BF
square
#B796BF #BFA396 #9EBF96 #96B3BF
split-complementary
#B796BF #B3BF96 #96BFA3
monochromatic
#7D5388 #9D70A8 #B796BF #D1BCD6 #EBE2ED
Accessibility & contrast
On white
2.58
#B796BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#B796BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B796BF
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B796BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B796BF | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#929FC1
Deuteranopia (green-blind)
#99A2BE
Tritanopia (blue-blind)
#B89AA4
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b796bf; /* rgb */ color: rgb(183, 150, 191); /* oklch */ color: oklch(71.7% 0.069 319.6);
Tailwind
colors: {
custom: {
50: '#cdb5d2',
500: '#b796bf',
950: '#000000',
},
}SCSS
$custom: #b796bf; $custom-light: #cdb5d2; $custom-dark: #000000;
JSON
{
"hex": "#b796bf",
"rgb": {
"r": 183,
"g": 150,
"b": 191
},
"hsl": {
"h": 288.293,
"s": 24.26,
"l": 66.863
},
"oklch": {
"l": 0.71664,
"c": 0.06904,
"h": 319.6
},
"luminance": 0.35642
}Semantic roles & 50–950 ramp
primary
#B796BF
secondary
#D4DFD2
accent
#A34355
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131114
muted
#828082