#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
RGBrgb(183, 145, 191)
HSLhsl(290, 26%, 66%)
HSVhsv(290, 24%, 75%)
CMYKcmyk(4.2%, 24.1%, 0%, 25.1%)
CIE-LABlab(65.03, 22.47, -18.41)
CIE-LCHlch(65.03, 29.05, 320.67°)
OKLaboklab(70.73% 0.0603 -0.0498)
OKLCHoklch(70.73% 0.078 320.4)
XYZxyz(39.0565, 34.0805, 53.8009)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

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
##B791BF1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.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

Preview Lab

Preview with #B791BF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B791BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva