#B96BFB#B96BFB

#B96BFB is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.7% C 0.211 H 306.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B96BFB
RGBrgb(185, 107, 251)
HSLhsl(273, 95%, 70%)
HSVhsv(273, 57%, 98%)
CMYKcmyk(26.3%, 57.4%, 0%, 1.6%)
CIE-LABlab(59.70, 56.56, -60.16)
CIE-LCHlch(59.70, 82.57, 313.23°)
OKLaboklab(67.67% 0.1259 -0.1696)
OKLCHoklch(67.67% 0.211 306.6)
XYZxyz(42.6742, 27.7951, 94.3650)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BFB #ADFB6B
analogous
#716BFB #B96BFB #FB6BF5
triadic
#B96BFB #FBB96B #6BFBB9
tetradic
#B96BFB #FB716B #ADFB6B #6BF5FB
square
#B96BFB #FB716B #ADFB6B #6BF5FB
split-complementary
#B96BFB #F5FB6B #6BFB71
monochromatic
#7F06E5 #9D2FF9 #B96BFB #D5A7FD #F1E1FE

Accessibility & contrast

On white

3.20
#B96BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#B96BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BFB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BFB#FFFFFF#000000##000000
##B96BFB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#318DFF
Deuteranopia (green-blind)
#5290F8
Tritanopia (blue-blind)
#AE87A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96bfb;
/* rgb */ color: rgb(185, 107, 251);
/* oklch */ color: oklch(67.7% 0.211 306.6);
Tailwind
colors: {
  custom: {
    50: '#d298fd',
    500: '#b96bfb',
    950: '#000000',
  },
}
SCSS
$custom: #b96bfb;
$custom-light: #d298fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bfb",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 272.5,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67668,
    "c": 0.21125,
    "h": 306.6
  },
  "luminance": 0.27795
}

Semantic roles & 50–950 ramp

primary
#B96BFB
secondary
#DFF5CD
accent
#E60069
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B96BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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