#B796BB#B796BB

#B796BB is a light, moderate purple. Relative luminance 0.355; OKLCH L 71.5% C 0.064 H 322.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B796BB
RGBrgb(183, 150, 187)
HSLhsl(294, 21%, 66%)
HSVhsv(294, 20%, 73%)
CMYKcmyk(2.1%, 19.8%, 0%, 26.7%)
CIE-LABlab(66.11, 18.89, -14.53)
CIE-LCHlch(66.11, 23.83, 322.43°)
OKLaboklab(71.52% 0.0513 -0.0391)
OKLCHoklch(71.52% 0.064 322.7)
XYZxyz(39.4033, 35.4686, 51.7745)
Luminance0.3547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B796BB #9ABB96
analogous
#A496BB #B796BB #BB96AC
triadic
#B796BB #BBB796 #96BBB7
tetradic
#B796BB #BBA496 #9ABB96 #96ACBB
square
#B796BB #BBA496 #9ABB96 #96ACBB
split-complementary
#B796BB #ACBB96 #96BBA4
monochromatic
#7D5482 #9E71A3 #B796BB #D0BBD3 #EAE0EB

Accessibility & contrast

On white

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

On black

8.09
#B796BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B796BB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B796BB#FFFFFF#000000##000000
##B796BB1.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#939EBD
Deuteranopia (green-blind)
#9AA2BA
Tritanopia (blue-blind)
#B999A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b796bb;
/* rgb */ color: rgb(183, 150, 187);
/* oklch */ color: oklch(71.5% 0.064 322.7);
Tailwind
colors: {
  custom: {
    50: '#cdb5cf',
    500: '#b796bb',
    950: '#000000',
  },
}
SCSS
$custom: #b796bb;
$custom-light: #cdb5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b796bb",
  "rgb": {
    "r": 183,
    "g": 150,
    "b": 187
  },
  "hsl": {
    "h": 293.514,
    "s": 21.387,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71516,
    "c": 0.06449,
    "h": 322.7
  },
  "luminance": 0.35468
}

Semantic roles & 50–950 ramp

primary
#B796BB
secondary
#D2DCD0
accent
#A0464F
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131113
muted
#828082

Preview Lab

Preview with #B796BB

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

Preview Lab → · Contrast checker → · Palette generator →

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