#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
RGBrgb(183, 150, 191)
HSLhsl(288, 24%, 67%)
HSVhsv(288, 21%, 75%)
CMYKcmyk(4.2%, 21.5%, 0%, 25.1%)
CIE-LABlab(66.25, 19.68, -16.57)
CIE-LCHlch(66.25, 25.72, 319.91°)
OKLaboklab(71.66% 0.0526 -0.0447)
OKLCHoklch(71.66% 0.069 319.6)
XYZxyz(39.8374, 35.6423, 54.0611)
Luminance0.3564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

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
##B796BF1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.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

Preview Lab

Preview with #B796BF

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

Preview Lab → · Contrast checker → · Palette generator →

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