#B996EA#B996EA

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

Color values

HEX#B996EA
RGBrgb(185, 150, 234)
HSLhsl(265, 67%, 75%)
HSVhsv(265, 36%, 92%)
CMYKcmyk(20.9%, 35.9%, 0%, 8.2%)
CIE-LABlab(68.07, 29.51, -37.58)
CIE-LCHlch(68.07, 47.78, 308.15°)
OKLaboklab(73.64% 0.0667 -0.1041)
OKLCHoklch(73.64% 0.124 302.6)
XYZxyz(45.7621, 38.0675, 82.7629)
Luminance0.3807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B996EA #C7EA96
analogous
#969DEA #B996EA #E396EA
triadic
#B996EA #EAB996 #96EAB9
tetradic
#B996EA #EA969D #C7EA96 #96EAE3
square
#B996EA #EA969D #C7EA96 #96EAE3
split-complementary
#B996EA #EAE396 #9DEA96
monochromatic
#7530D6 #9763E0 #B996EA #DBC9F4 #EEE5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B996EA#FFFFFF#000000##000000
##B996EA1.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)
#83A5ED
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#B1A3B5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b996ea;
/* rgb */ color: rgb(185, 150, 234);
/* oklch */ color: oklch(73.6% 0.124 302.6);
Tailwind
colors: {
  custom: {
    50: '#cfb5f1',
    500: '#b996ea',
    950: '#000000',
  },
}
SCSS
$custom: #b996ea;
$custom-light: #cfb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b996ea",
  "rgb": {
    "r": 185,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 265,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73644,
    "c": 0.12365,
    "h": 302.6
  },
  "luminance": 0.38067
}

Semantic roles & 50–950 ramp

primary
#B996EA
secondary
#E7F1DA
accent
#CF1782
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #B996EA

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

Preview Lab → · Contrast checker → · Palette generator →

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