#B796CC#B796CC

#B796CC is a light, moderate violet. Relative luminance 0.362; OKLCH L 72.2% C 0.085 H 311.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#B796CC
RGBrgb(183, 150, 204)
HSLhsl(277, 35%, 69%)
HSVhsv(277, 26%, 80%)
CMYKcmyk(10.3%, 26.5%, 0%, 20%)
CIE-LABlab(66.70, 22.33, -23.12)
CIE-LCHlch(66.70, 32.14, 314.01°)
OKLaboklab(72.17% 0.0566 -0.063)
OKLCHoklch(72.17% 0.085 311.9)
XYZxyz(41.3320, 36.2401, 61.9327)
Luminance0.3624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B796CC #ABCC96
analogous
#9C96CC #B796CC #CC96C6
triadic
#B796CC #CCB796 #96CCB7
tetradic
#B796CC #CC9C96 #ABCC96 #96C6CC
square
#B796CC #CC9C96 #ABCC96 #96C6CC
split-complementary
#B796CC #C6CC96 #96CC9C
monochromatic
#7D4C9C #9B6DB8 #B796CC #D3BFE0 #EFE8F4

Accessibility & contrast

On white

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

On black

8.25
#B796CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B796CC
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B796CC#FFFFFF#000000##000000
##B796CC1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b796cc;
/* rgb */ color: rgb(183, 150, 204);
/* oklch */ color: oklch(72.2% 0.085 311.9);
Tailwind
colors: {
  custom: {
    50: '#cdb5db',
    500: '#b796cc',
    950: '#000000',
  },
}
SCSS
$custom: #b796cc;
$custom-light: #cdb5db;
$custom-dark: #000000;
JSON
{
  "hex": "#b796cc",
  "rgb": {
    "r": 183,
    "g": 150,
    "b": 204
  },
  "hsl": {
    "h": 276.667,
    "s": 34.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72166,
    "c": 0.08473,
    "h": 311.9
  },
  "luminance": 0.3624
}

Semantic roles & 50–950 ramp

primary
#B796CC
secondary
#DDE7D7
accent
#AD3866
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B796CC

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

Preview Lab → · Contrast checker → · Palette generator →

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