#B96BF6#B96BF6

#B96BF6 is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.4% C 0.206 H 307.7°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B96BF6
RGBrgb(185, 107, 246)
HSLhsl(274, 89%, 69%)
HSVhsv(274, 57%, 96%)
CMYKcmyk(24.8%, 56.5%, 0%, 3.5%)
CIE-LABlab(59.42, 55.44, -57.85)
CIE-LCHlch(59.42, 80.13, 313.78°)
OKLaboklab(67.37% 0.1258 -0.1629)
OKLCHoklch(67.37% 0.206 307.7)
XYZxyz(41.8965, 27.4840, 90.2687)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BF6 #A8F66B
analogous
#746BF6 #B96BF6 #F66BEE
triadic
#B96BF6 #F6B96B #6BF6B9
tetradic
#B96BF6 #F6746B #A8F66B #6BEEF6
square
#B96BF6 #F6746B #A8F66B #6BEEF6
split-complementary
#B96BF6 #EEF66B #6BF674
monochromatic
#800DD9 #9E31F2 #B96BF6 #D4A5FA #F0DEFD

Accessibility & contrast

On white

3.23
#B96BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#B96BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BF6
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BF6#FFFFFF#000000##000000
##B96BF61.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#388CFB
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#B085A7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96bf6;
/* rgb */ color: rgb(185, 107, 246);
/* oklch */ color: oklch(67.4% 0.206 307.7);
Tailwind
colors: {
  custom: {
    50: '#d198fa',
    500: '#b96bf6',
    950: '#000000',
  },
}
SCSS
$custom: #b96bf6;
$custom-light: #d198fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bf6",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 273.669,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6737,
    "c": 0.20582,
    "h": 307.7
  },
  "luminance": 0.27483
}

Semantic roles & 50–950 ramp

primary
#B96BF6
secondary
#DCF3CA
accent
#E50065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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