#B96BEE#B96BEE

#B96BEE is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.9% C 0.197 H 309.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B96BEE
RGBrgb(185, 107, 238)
HSLhsl(276, 79%, 68%)
HSVhsv(276, 55%, 93%)
CMYKcmyk(22.3%, 55%, 0%, 6.7%)
CIE-LABlab(58.98, 53.67, -54.12)
CIE-LCHlch(58.98, 76.22, 314.76°)
OKLaboklab(66.9% 0.1256 -0.1519)
OKLCHoklch(66.9% 0.197 309.6)
XYZxyz(40.6949, 27.0034, 83.9407)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BEE #A0EE6B
analogous
#776BEE #B96BEE #EE6BE2
triadic
#B96BEE #EEB96B #6BEEB9
tetradic
#B96BEE #EE776B #A0EE6B #6BE2EE
square
#B96BEE #EE776B #A0EE6B #6BE2EE
split-complementary
#B96BEE #E2EE6B #6BEE77
monochromatic
#8017C8 #9F34E8 #B96BEE #D3A2F4 #EDD9FB

Accessibility & contrast

On white

3.28
#B96BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#B96BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BEE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BEE#FFFFFF#000000##000000
##B96BEE1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#418AF2
Deuteranopia (green-blind)
#5D8FEB
Tritanopia (blue-blind)
#B282A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b96bee;
/* rgb */ color: rgb(185, 107, 238);
/* oklch */ color: oklch(66.9% 0.197 309.6);
Tailwind
colors: {
  custom: {
    50: '#d198f4',
    500: '#b96bee',
    950: '#000000',
  },
}
SCSS
$custom: #b96bee;
$custom-light: #d198f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bee",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 275.725,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66903,
    "c": 0.19711,
    "h": 309.6
  },
  "luminance": 0.27003
}

Semantic roles & 50–950 ramp

primary
#B96BEE
secondary
#D7EFC6
accent
#DC0A5F
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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