#B96AEF#B96AEF

#B96AEF is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.8% C 0.200 H 309.4°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B96AEF
RGBrgb(185, 106, 239)
HSLhsl(276, 81%, 68%)
HSVhsv(276, 56%, 94%)
CMYKcmyk(22.6%, 55.6%, 0%, 6.3%)
CIE-LABlab(58.84, 54.40, -54.89)
CIE-LCHlch(58.84, 77.28, 314.74°)
OKLaboklab(66.82% 0.1269 -0.1542)
OKLCHoklch(66.82% 0.2 309.4)
XYZxyz(40.7386, 26.8550, 84.6821)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96AEF #A0EF6A
analogous
#766AEF #B96AEF #EF6AE3
triadic
#B96AEF #EFB96A #6AEFB9
tetradic
#B96AEF #EF766A #A0EF6A #6AE3EF
square
#B96AEF #EF766A #A0EF6A #6AE3EF
split-complementary
#B96AEF #E3EF6A #6AEF76
monochromatic
#8016C9 #9F33E9 #B96AEF #D3A1F5 #EDD9FB

Accessibility & contrast

On white

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

On black

6.37
#B96AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96AEF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96AEF#FFFFFF#000000##000000
##B96AEF1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8AF3
Deuteranopia (green-blind)
#5B8FEC
Tritanopia (blue-blind)
#B282A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b96aef;
/* rgb */ color: rgb(185, 106, 239);
/* oklch */ color: oklch(66.8% 0.200 309.4);
Tailwind
colors: {
  custom: {
    50: '#d198f5',
    500: '#b96aef',
    950: '#000000',
  },
}
SCSS
$custom: #b96aef;
$custom-light: #d198f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b96aef",
  "rgb": {
    "r": 185,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 275.639,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66819,
    "c": 0.19969,
    "h": 309.4
  },
  "luminance": 0.26854
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B96AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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