#B796CB#B796CB

#B796CB is a light, moderate violet. Relative luminance 0.362; OKLCH L 72.1% C 0.083 H 312.4°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#B796CB
RGBrgb(183, 150, 203)
HSLhsl(277, 34%, 69%)
HSVhsv(277, 26%, 80%)
CMYKcmyk(9.9%, 26.1%, 0%, 20.4%)
CIE-LABlab(66.67, 22.12, -22.62)
CIE-LCHlch(66.67, 31.64, 314.36°)
OKLaboklab(72.13% 0.0563 -0.0616)
OKLCHoklch(72.13% 0.083 312.4)
XYZxyz(41.2125, 36.1923, 61.3031)
Luminance0.3619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B796CB #AACB96
analogous
#9D96CB #B796CB #CB96C5
triadic
#B796CB #CBB796 #96CBB7
tetradic
#B796CB #CB9D96 #AACB96 #96C5CB
square
#B796CB #CB9D96 #AACB96 #96C5CB
split-complementary
#B796CB #C5CB96 #96CB9D
monochromatic
#7D4C9A #9B6DB7 #B796CB #D3BFDF #EFE8F4

Accessibility & contrast

On white

2.55
#B796CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#B796CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B796CB
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B796CB#FFFFFF#000000##000000
##B796CB1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA0CD
Deuteranopia (green-blind)
#95A3C9
Tritanopia (blue-blind)
#B59DA9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b796cb;
/* rgb */ color: rgb(183, 150, 203);
/* oklch */ color: oklch(72.1% 0.083 312.4);
Tailwind
colors: {
  custom: {
    50: '#cdb5db',
    500: '#b796cb',
    950: '#000000',
  },
}
SCSS
$custom: #b796cb;
$custom-light: #cdb5db;
$custom-dark: #000000;
JSON
{
  "hex": "#b796cb",
  "rgb": {
    "r": 183,
    "g": 150,
    "b": 203
  },
  "hsl": {
    "h": 277.358,
    "s": 33.758,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72127,
    "c": 0.08349,
    "h": 312.4
  },
  "luminance": 0.36192
}

Semantic roles & 50–950 ramp

primary
#B796CB
secondary
#DDE6D7
accent
#AD3965
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#131115
muted
#828083

Preview Lab

Preview with #B796CB

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

Preview Lab → · Contrast checker → · Palette generator →

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