#B791BF#B791BF
#B791BF is a light, moderate purple. Relative luminance 0.341; OKLCH L 70.7% C 0.078 H 320.4°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B791BF |
|---|---|
| RGB | rgb(183, 145, 191) |
| HSL | hsl(290, 26%, 66%) |
| HSV | hsv(290, 24%, 75%) |
| CMYK | cmyk(4.2%, 24.1%, 0%, 25.1%) |
| CIE-LAB | lab(65.03, 22.47, -18.41) |
| CIE-LCH | lch(65.03, 29.05, 320.67°) |
| OKLab | oklab(70.73% 0.0603 -0.0498) |
| OKLCH | oklch(70.73% 0.078 320.4) |
| XYZ | xyz(39.0565, 34.0805, 53.8009) |
| Luminance | 0.3408 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heather
#A484AC
ΔE00 5.14
Dusty Lavender
#AC86A8
ΔE00 5.15
Lilac
#C8A2C8
ΔE00 5.36
Pale Purple
#B790D4
ΔE00 5.45
Lavender
#B39DDB
ΔE00 7.32
Wisteria
#A87DC2
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B791BF #99BF91
analogous
#A091BF #B791BF #BF91B0
triadic
#B791BF #BFB791 #91BFB7
tetradic
#B791BF #BFA091 #99BF91 #91B0BF
square
#B791BF #BFA091 #99BF91 #91B0BF
split-complementary
#B791BF #B0BF91 #91BFA0
monochromatic
#7D4F87 #9E6AA8 #B791BF #D0B8D6 #EADEEC
Accessibility & contrast
On white
2.69
#B791BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#B791BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B791BF
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B791BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B791BF | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C9BC1
Deuteranopia (green-blind)
#959FBD
Tritanopia (blue-blind)
#B896A1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b791bf; /* rgb */ color: rgb(183, 145, 191); /* oklch */ color: oklch(70.7% 0.078 320.4);
Tailwind
colors: {
custom: {
50: '#cdb1d2',
500: '#b791bf',
950: '#000000',
},
}SCSS
$custom: #b791bf; $custom-light: #cdb1d2; $custom-dark: #000000;
JSON
{
"hex": "#b791bf",
"rgb": {
"r": 183,
"g": 145,
"b": 191
},
"hsl": {
"h": 289.565,
"s": 26.437,
"l": 65.882
},
"oklch": {
"l": 0.70726,
"c": 0.07818,
"h": 320.4
},
"luminance": 0.3408
}Semantic roles & 50–950 ramp
primary
#B791BF
secondary
#D1DECE
accent
#A54052
background
#FCFAFC
surface
#F9F5F9
border
#D2CFD2
text
#131014
muted
#827F82