#B797BB#B797BB

#B797BB is a light, moderate purple. Relative luminance 0.358; OKLCH L 71.7% C 0.063 H 322.6°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B797BB
RGBrgb(183, 151, 187)
HSLhsl(293, 21%, 66%)
HSVhsv(293, 19%, 73%)
CMYKcmyk(2.1%, 19.3%, 0%, 26.7%)
CIE-LABlab(66.36, 18.33, -14.16)
CIE-LCHlch(66.36, 23.17, 322.32°)
OKLaboklab(71.71% 0.0498 -0.0381)
OKLCHoklch(71.71% 0.063 322.6)
XYZxyz(39.5635, 35.7891, 51.8279)
Luminance0.3579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B797BB #9BBB97
analogous
#A597BB #B797BB #BB97AD
triadic
#B797BB #BBB797 #97BBB7
tetradic
#B797BB #BBA597 #9BBB97 #97ADBB
square
#B797BB #BBA597 #9BBB97 #97ADBB
split-complementary
#B797BB #ADBB97 #97BBA5
monochromatic
#7D5582 #9D72A3 #B797BB #D1BCD3 #EAE1EB

Accessibility & contrast

On white

2.57
#B797BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B797BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B797BB
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B797BB#FFFFFF#000000##000000
##B797BB1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#949FBD
Deuteranopia (green-blind)
#9BA3BA
Tritanopia (blue-blind)
#B89AA3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b797bb;
/* rgb */ color: rgb(183, 151, 187);
/* oklch */ color: oklch(71.7% 0.063 322.6);
Tailwind
colors: {
  custom: {
    50: '#cdb5cf',
    500: '#b797bb',
    950: '#000000',
  },
}
SCSS
$custom: #b797bb;
$custom-light: #cdb5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b797bb",
  "rgb": {
    "r": 183,
    "g": 151,
    "b": 187
  },
  "hsl": {
    "h": 293.333,
    "s": 20.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71707,
    "c": 0.06265,
    "h": 322.6
  },
  "luminance": 0.35788
}

Semantic roles & 50–950 ramp

primary
#B797BB
secondary
#D2DDD1
accent
#9F4650
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131113
muted
#828082

Preview Lab

Preview with #B797BB

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

Preview Lab → · Contrast checker → · Palette generator →

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