#B796CD#B796CD

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

Color values

HEX#B796CD
RGBrgb(183, 150, 205)
HSLhsl(276, 35%, 70%)
HSVhsv(276, 27%, 80%)
CMYKcmyk(10.7%, 26.8%, 0%, 19.6%)
CIE-LABlab(66.74, 22.54, -23.62)
CIE-LCHlch(66.74, 32.65, 313.66°)
OKLaboklab(72.21% 0.0569 -0.0644)
OKLCHoklch(72.21% 0.086 311.5)
XYZxyz(41.4524, 36.2882, 62.5664)
Luminance0.3629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B796CD #ACCD96
analogous
#9C96CD #B796CD #CD96C8
triadic
#B796CD #CDB796 #96CDB7
tetradic
#B796CD #CD9C96 #ACCD96 #96C8CD
square
#B796CD #CD9C96 #ACCD96 #96C8CD
split-complementary
#B796CD #C8CD96 #96CD9C
monochromatic
#7D4B9E #9B6DB9 #B796CD #D3BFE1 #F0E9F4

Accessibility & contrast

On white

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

On black

8.26
#B796CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B796CD
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B796CD#FFFFFF#000000##000000
##B796CD1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA1CF
Deuteranopia (green-blind)
#94A3CB
Tritanopia (blue-blind)
#B59DA9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b796cd;
/* rgb */ color: rgb(183, 150, 205);
/* oklch */ color: oklch(72.2% 0.086 311.5);
Tailwind
colors: {
  custom: {
    50: '#cdb5dc',
    500: '#b796cd',
    950: '#000000',
  },
}
SCSS
$custom: #b796cd;
$custom-light: #cdb5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b796cd",
  "rgb": {
    "r": 183,
    "g": 150,
    "b": 205
  },
  "hsl": {
    "h": 276,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72207,
    "c": 0.08597,
    "h": 311.5
  },
  "luminance": 0.36288
}

Semantic roles & 50–950 ramp

primary
#B796CD
secondary
#DEE7D8
accent
#AE3767
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B796CD

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

Preview Lab → · Contrast checker → · Palette generator →

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