#B796EE#B796EE

#B796EE is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.6% C 0.128 H 300.6°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#B796EE
RGBrgb(183, 150, 238)
HSLhsl(263, 72%, 76%)
HSVhsv(263, 37%, 93%)
CMYKcmyk(23.1%, 37%, 0%, 6.7%)
CIE-LABlab(68.06, 29.85, -39.80)
CIE-LCHlch(68.06, 49.75, 306.87°)
OKLaboklab(73.65% 0.0653 -0.1106)
OKLCHoklch(73.65% 0.128 300.6)
XYZxyz(45.8640, 38.0529, 85.8010)
Luminance0.3805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B796EE #CDEE96
analogous
#96A1EE #B796EE #E396EE
triadic
#B796EE #EEB796 #96EEB7
tetradic
#B796EE #EE96A1 #CDEE96 #96EEE3
square
#B796EE #EE96A1 #CDEE96 #96EEE3
split-complementary
#B796EE #EEE396 #A1EE96
monochromatic
#6F2DDD #9361E5 #B796EE #DBCBF7 #EDE5FB

Accessibility & contrast

On white

2.44
#B796EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#B796EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B796EE
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B796EE#FFFFFF#000000##000000
##B796EE1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F1
Deuteranopia (green-blind)
#87A5EC
Tritanopia (blue-blind)
#ADA4B7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b796ee;
/* rgb */ color: rgb(183, 150, 238);
/* oklch */ color: oklch(73.6% 0.128 300.6);
Tailwind
colors: {
  custom: {
    50: '#ceb5f4',
    500: '#b796ee',
    950: '#000000',
  },
}
SCSS
$custom: #b796ee;
$custom-light: #ceb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b796ee",
  "rgb": {
    "r": 183,
    "g": 150,
    "b": 238
  },
  "hsl": {
    "h": 262.5,
    "s": 72.131,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73649,
    "c": 0.12838,
    "h": 300.6
  },
  "luminance": 0.38053
}

Semantic roles & 50–950 ramp

primary
#B796EE
secondary
#E9F2D9
accent
#D4118B
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B796EE

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

Preview Lab → · Contrast checker → · Palette generator →

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