#B96FF5#B96FF5

#B96FF5 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.9% C 0.199 H 307.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B96FF5
RGBrgb(185, 111, 245)
HSLhsl(273, 87%, 70%)
HSVhsv(273, 55%, 96%)
CMYKcmyk(24.5%, 54.7%, 0%, 3.9%)
CIE-LABlab(60.14, 53.17, -56.15)
CIE-LCHlch(60.14, 77.33, 313.44°)
OKLaboklab(67.88% 0.1208 -0.1579)
OKLCHoklch(67.88% 0.199 307.4)
XYZxyz(42.1701, 28.2762, 89.6048)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FF5 #ABF56F
analogous
#766FF5 #B96FF5 #F56FEE
triadic
#B96FF5 #F5B96F #6FF5B9
tetradic
#B96FF5 #F5766F #ABF56F #6FEEF5
square
#B96FF5 #F5766F #ABF56F #6FEEF5
split-complementary
#B96FF5 #EEF56F #6FF576
monochromatic
#7F0FDA #9D36F1 #B96FF5 #D5A8F9 #F1E1FD

Accessibility & contrast

On white

3.16
#B96FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B96FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FF5
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FF5#FFFFFF#000000##000000
##B96FF51.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#428EF9
Deuteranopia (green-blind)
#5C92F2
Tritanopia (blue-blind)
#B088A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b96ff5;
/* rgb */ color: rgb(185, 111, 245);
/* oklch */ color: oklch(67.9% 0.199 307.4);
Tailwind
colors: {
  custom: {
    50: '#d19bf9',
    500: '#b96ff5',
    950: '#000000',
  },
}
SCSS
$custom: #b96ff5;
$custom-light: #d19bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ff5",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 273.134,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67878,
    "c": 0.19882,
    "h": 307.4
  },
  "luminance": 0.28276
}

Semantic roles & 50–950 ramp

primary
#B96FF5
secondary
#DEF3CD
accent
#E40267
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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