#B96BF8#B96BF8

#B96BF8 is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.5% C 0.208 H 307.2°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B96BF8
RGBrgb(185, 107, 248)
HSLhsl(273, 91%, 70%)
HSVhsv(273, 57%, 97%)
CMYKcmyk(25.4%, 56.9%, 0%, 2.7%)
CIE-LABlab(59.53, 55.89, -58.78)
CIE-LCHlch(59.53, 81.10, 313.56°)
OKLaboklab(67.49% 0.1259 -0.1656)
OKLCHoklch(67.49% 0.208 307.2)
XYZxyz(42.2051, 27.6075, 91.8941)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BF8 #AAF86B
analogous
#726BF8 #B96BF8 #F86BF1
triadic
#B96BF8 #F8B96B #6BF8B9
tetradic
#B96BF8 #F8726B #AAF86B #6BF1F8
square
#B96BF8 #F8726B #AAF86B #6BF1F8
split-complementary
#B96BF8 #F1F86B #6BF872
monochromatic
#800BDE #9D31F5 #B96BF8 #D5A5FB #F0E0FE

Accessibility & contrast

On white

3.22
#B96BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#B96BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BF8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BF8#FFFFFF#000000##000000
##B96BF81.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#368CFD
Deuteranopia (green-blind)
#5590F5
Tritanopia (blue-blind)
#AF86A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96bf8;
/* rgb */ color: rgb(185, 107, 248);
/* oklch */ color: oklch(67.5% 0.208 307.2);
Tailwind
colors: {
  custom: {
    50: '#d198fb',
    500: '#b96bf8',
    950: '#000000',
  },
}
SCSS
$custom: #b96bf8;
$custom-light: #d198fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bf8",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 273.191,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67489,
    "c": 0.20798,
    "h": 307.2
  },
  "luminance": 0.27607
}

Semantic roles & 50–950 ramp

primary
#B96BF8
secondary
#DDF4CB
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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