#B796BD#B796BD

#B796BD is a light, moderate purple. Relative luminance 0.356; OKLCH L 71.6% C 0.067 H 321.1°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B796BD
RGBrgb(183, 150, 189)
HSLhsl(291, 23%, 66%)
HSVhsv(291, 21%, 74%)
CMYKcmyk(3.2%, 20.6%, 0%, 25.9%)
CIE-LABlab(66.18, 19.28, -15.55)
CIE-LCHlch(66.18, 24.77, 321.12°)
OKLaboklab(71.59% 0.052 -0.0419)
OKLCHoklch(71.59% 0.067 321.1)
XYZxyz(39.6189, 35.5548, 52.9099)
Luminance0.3555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B796BD #9CBD96
analogous
#A496BD #B796BD #BD96B0
triadic
#B796BD #BDB796 #96BDB7
tetradic
#B796BD #BDA496 #9CBD96 #96B0BD
square
#B796BD #BDA496 #9CBD96 #96B0BD
split-complementary
#B796BD #B0BD96 #96BDA4
monochromatic
#7D5485 #9D70A5 #B796BD #D1BCD5 #EBE1EC

Accessibility & contrast

On white

2.59
#B796BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#B796BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B796BD
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B796BD#FFFFFF#000000##000000
##B796BD1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#929FBF
Deuteranopia (green-blind)
#99A2BC
Tritanopia (blue-blind)
#B89AA3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b796bd;
/* rgb */ color: rgb(183, 150, 189);
/* oklch */ color: oklch(71.6% 0.067 321.1);
Tailwind
colors: {
  custom: {
    50: '#cdb5d1',
    500: '#b796bd',
    950: '#000000',
  },
}
SCSS
$custom: #b796bd;
$custom-light: #cdb5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b796bd",
  "rgb": {
    "r": 183,
    "g": 150,
    "b": 189
  },
  "hsl": {
    "h": 290.769,
    "s": 22.807,
    "l": 66.471
  },
  "oklch": {
    "l": 0.7159,
    "c": 0.06674,
    "h": 321.1
  },
  "luminance": 0.35554
}

Semantic roles & 50–950 ramp

primary
#B796BD
secondary
#D3DED1
accent
#A14453
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #B796BD

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

Preview Lab → · Contrast checker → · Palette generator →

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