#B796DC#B796DC

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

Color values

HEX#B796DC
RGBrgb(183, 150, 220)
HSLhsl(268, 50%, 73%)
HSVhsv(268, 32%, 86%)
CMYKcmyk(16.8%, 31.8%, 0%, 13.7%)
CIE-LABlab(67.31, 25.77, -31.05)
CIE-LCHlch(67.31, 40.35, 309.69°)
OKLaboklab(72.83% 0.061 -0.0855)
OKLCHoklch(72.83% 0.105 305.5)
XYZxyz(43.3505, 37.0475, 72.5634)
Luminance0.3705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B796DC #BBDC96
analogous
#9698DC #B796DC #DA96DC
triadic
#B796DC #DCB796 #96DCB7
tetradic
#B796DC #DC9698 #BBDC96 #96DCDA
square
#B796DC #DC9698 #BBDC96 #96DCDA
split-complementary
#B796DC #DCDA96 #98DC96
monochromatic
#783EBA #9868CD #B796DC #D6C4EB #EFE8F7

Accessibility & contrast

On white

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

On black

8.41
#B796DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B796DC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B796DC#FFFFFF#000000##000000
##B796DC1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b796dc;
/* rgb */ color: rgb(183, 150, 220);
/* oklch */ color: oklch(72.8% 0.105 305.5);
Tailwind
colors: {
  custom: {
    50: '#cdb5e7',
    500: '#b796dc',
    950: '#000000',
  },
}
SCSS
$custom: #b796dc;
$custom-light: #cdb5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b796dc",
  "rgb": {
    "r": 183,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 268.286,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72834,
    "c": 0.10504,
    "h": 305.5
  },
  "luminance": 0.37047
}

Semantic roles & 50–950 ramp

primary
#B796DC
secondary
#E6EEDD
accent
#BD2877
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B796DC

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

Preview Lab → · Contrast checker → · Palette generator →

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