#B796DB#B796DB

#B796DB is a light, moderate violet. Relative luminance 0.370; OKLCH L 72.8% C 0.104 H 305.9°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B796DB
RGBrgb(183, 150, 219)
HSLhsl(269, 49%, 72%)
HSVhsv(269, 32%, 86%)
CMYKcmyk(16.4%, 31.5%, 0%, 14.1%)
CIE-LABlab(67.27, 25.55, -30.56)
CIE-LCHlch(67.27, 39.84, 309.90°)
OKLaboklab(72.79% 0.0608 -0.0841)
OKLCHoklch(72.79% 0.104 305.9)
XYZxyz(43.2185, 36.9947, 71.8680)
Luminance0.3699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B796DB #BADB96
analogous
#9697DB #B796DB #DA96DB
triadic
#B796DB #DBB796 #96DBB7
tetradic
#B796DB #DB9697 #BADB96 #96DBDA
square
#B796DB #DB9697 #BADB96 #96DBDA
split-complementary
#B796DB #DBDA96 #97DB96
monochromatic
#793FB8 #9868CB #B796DB #D6C4EB #EFE8F7

Accessibility & contrast

On white

2.50
#B796DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B796DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B796DB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B796DB#FFFFFF#000000##000000
##B796DB1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A3DE
Deuteranopia (green-blind)
#8FA4D9
Tritanopia (blue-blind)
#B2A0AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b796db;
/* rgb */ color: rgb(183, 150, 219);
/* oklch */ color: oklch(72.8% 0.104 305.9);
Tailwind
colors: {
  custom: {
    50: '#cdb5e6',
    500: '#b796db',
    950: '#000000',
  },
}
SCSS
$custom: #b796db;
$custom-light: #cdb5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b796db",
  "rgb": {
    "r": 183,
    "g": 150,
    "b": 219
  },
  "hsl": {
    "h": 268.696,
    "s": 48.936,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72791,
    "c": 0.10376,
    "h": 305.9
  },
  "luminance": 0.36994
}

Semantic roles & 50–950 ramp

primary
#B796DB
secondary
#E6EEDD
accent
#BC2976
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B796DB

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

Preview Lab → · Contrast checker → · Palette generator →

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