#B96BF1#B96BF1

#B96BF1 is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.1% C 0.200 H 308.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B96BF1
RGBrgb(185, 107, 241)
HSLhsl(275, 83%, 68%)
HSVhsv(275, 56%, 95%)
CMYKcmyk(23.2%, 55.6%, 0%, 5.5%)
CIE-LABlab(59.14, 54.33, -55.52)
CIE-LCHlch(59.14, 77.68, 314.38°)
OKLaboklab(67.08% 0.1257 -0.156)
OKLCHoklch(67.08% 0.2 308.8)
XYZxyz(41.1394, 27.1812, 86.2813)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BF1 #A3F16B
analogous
#766BF1 #B96BF1 #F16BE6
triadic
#B96BF1 #F1B96B #6BF1B9
tetradic
#B96BF1 #F1766B #A3F16B #6BE6F1
square
#B96BF1 #F1766B #A3F16B #6BE6F1
split-complementary
#B96BF1 #E6F16B #6BF176
monochromatic
#8013CE #9F33EC #B96BF1 #D3A3F6 #EEDBFC

Accessibility & contrast

On white

3.26
#B96BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#B96BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BF1
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BF1#FFFFFF#000000##000000
##B96BF11.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8BF5
Deuteranopia (green-blind)
#5B8FEE
Tritanopia (blue-blind)
#B183A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b96bf1;
/* rgb */ color: rgb(185, 107, 241);
/* oklch */ color: oklch(67.1% 0.200 308.8);
Tailwind
colors: {
  custom: {
    50: '#d198f6',
    500: '#b96bf1',
    950: '#000000',
  },
}
SCSS
$custom: #b96bf1;
$custom-light: #d198f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bf1",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 241
  },
  "hsl": {
    "h": 274.925,
    "s": 82.716,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67076,
    "c": 0.20037,
    "h": 308.8
  },
  "luminance": 0.27181
}

Semantic roles & 50–950 ramp

primary
#B96BF1
secondary
#D9F0C8
accent
#DF0661
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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