#B796CE#B796CE

#B796CE is a light, moderate violet. Relative luminance 0.363; OKLCH L 72.2% C 0.087 H 311.0°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B796CE
RGBrgb(183, 150, 206)
HSLhsl(275, 36%, 70%)
HSVhsv(275, 27%, 81%)
CMYKcmyk(11.2%, 27.2%, 0%, 19.2%)
CIE-LABlab(66.78, 22.75, -24.12)
CIE-LCHlch(66.78, 33.16, 313.33°)
OKLaboklab(72.25% 0.0572 -0.0658)
OKLCHoklch(72.25% 0.087 311)
XYZxyz(41.5734, 36.3367, 63.2041)
Luminance0.3634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B796CE #ADCE96
analogous
#9B96CE #B796CE #CE96C9
triadic
#B796CE #CEB796 #96CEB7
tetradic
#B796CE #CE9B96 #ADCE96 #96C9CE
square
#B796CE #CE9B96 #ADCE96 #96C9CE
split-complementary
#B796CE #C9CE96 #96CE9B
monochromatic
#7C4A9F #9A6CBB #B796CE #D4C0E1 #F0E9F5

Accessibility & contrast

On white

2.54
#B796CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#B796CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B796CE
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B796CE#FFFFFF#000000##000000
##B796CE1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA1D0
Deuteranopia (green-blind)
#94A3CC
Tritanopia (blue-blind)
#B59DAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b796ce;
/* rgb */ color: rgb(183, 150, 206);
/* oklch */ color: oklch(72.2% 0.087 311.0);
Tailwind
colors: {
  custom: {
    50: '#cdb5dd',
    500: '#b796ce',
    950: '#000000',
  },
}
SCSS
$custom: #b796ce;
$custom-light: #cdb5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b796ce",
  "rgb": {
    "r": 183,
    "g": 150,
    "b": 206
  },
  "hsl": {
    "h": 275.357,
    "s": 36.364,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72247,
    "c": 0.08722,
    "h": 311
  },
  "luminance": 0.36336
}

Semantic roles & 50–950 ramp

primary
#B796CE
secondary
#DEE8D8
accent
#AF3668
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B796CE

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

Preview Lab → · Contrast checker → · Palette generator →

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