#B96AEB#B96AEB

#B96AEB is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.6% C 0.195 H 310.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B96AEB
RGBrgb(185, 106, 235)
HSLhsl(277, 76%, 67%)
HSVhsv(277, 55%, 92%)
CMYKcmyk(21.3%, 54.9%, 0%, 7.8%)
CIE-LABlab(58.62, 53.53, -53.01)
CIE-LCHlch(58.62, 75.33, 315.28°)
OKLaboklab(66.59% 0.1267 -0.1487)
OKLCHoklch(66.59% 0.195 310.4)
XYZxyz(40.1542, 26.6213, 81.6043)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96AEB #9CEB6A
analogous
#796AEB #B96AEB #EB6ADD
triadic
#B96AEB #EBB96A #6AEBB9
tetradic
#B96AEB #EB796A #9CEB6A #6ADDEB
square
#B96AEB #EB796A #9CEB6A #6ADDEB
split-complementary
#B96AEB #DDEB6A #6AEB79
monochromatic
#801AC1 #A034E4 #B96AEB #D2A0F2 #ECD6F9

Accessibility & contrast

On white

3.32
#B96AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#B96AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96AEB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96AEB#FFFFFF#000000##000000
##B96AEB1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EF
Deuteranopia (green-blind)
#5E8EE8
Tritanopia (blue-blind)
#B381A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b96aeb;
/* rgb */ color: rgb(185, 106, 235);
/* oklch */ color: oklch(66.6% 0.195 310.4);
Tailwind
colors: {
  custom: {
    50: '#d198f2',
    500: '#b96aeb',
    950: '#000000',
  },
}
SCSS
$custom: #b96aeb;
$custom-light: #d198f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b96aeb",
  "rgb": {
    "r": 185,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 276.744,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66589,
    "c": 0.19536,
    "h": 310.4
  },
  "luminance": 0.26621
}

Semantic roles & 50–950 ramp

primary
#B96AEB
secondary
#D4EDC4
accent
#D90D5C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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