#B96AEE#B96AEE

#B96AEE is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.8% C 0.199 H 309.7°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B96AEE
RGBrgb(185, 106, 238)
HSLhsl(276, 80%, 67%)
HSVhsv(276, 55%, 93%)
CMYKcmyk(22.3%, 55.5%, 0%, 6.7%)
CIE-LABlab(58.79, 54.18, -54.42)
CIE-LCHlch(58.79, 76.79, 314.87°)
OKLaboklab(66.76% 0.1268 -0.1528)
OKLCHoklch(66.76% 0.199 309.7)
XYZxyz(40.5913, 26.7961, 83.9062)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96AEE #9FEE6A
analogous
#776AEE #B96AEE #EE6AE1
triadic
#B96AEE #EEB96A #6AEEB9
tetradic
#B96AEE #EE776A #9FEE6A #6AE1EE
square
#B96AEE #EE776A #9FEE6A #6AE1EE
split-complementary
#B96AEE #E1EE6A #6AEE77
monochromatic
#8017C7 #9F33E8 #B96AEE #D3A1F4 #EDD8FB

Accessibility & contrast

On white

3.30
#B96AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#B96AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96AEE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96AEE#FFFFFF#000000##000000
##B96AEE1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF2
Deuteranopia (green-blind)
#5C8FEB
Tritanopia (blue-blind)
#B282A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b96aee;
/* rgb */ color: rgb(185, 106, 238);
/* oklch */ color: oklch(66.8% 0.199 309.7);
Tailwind
colors: {
  custom: {
    50: '#d198f4',
    500: '#b96aee',
    950: '#000000',
  },
}
SCSS
$custom: #b96aee;
$custom-light: #d198f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b96aee",
  "rgb": {
    "r": 185,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 275.909,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66761,
    "c": 0.1986,
    "h": 309.7
  },
  "luminance": 0.26795
}

Semantic roles & 50–950 ramp

primary
#B96AEE
secondary
#D6EFC5
accent
#DC0A5E
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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