#B96DF6#B96DF6

#B96DF6 is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 67.7% C 0.203 H 307.4°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B96DF6
RGBrgb(185, 109, 246)
HSLhsl(273, 88%, 70%)
HSVhsv(273, 56%, 96%)
CMYKcmyk(24.8%, 55.7%, 0%, 3.5%)
CIE-LABlab(59.80, 54.42, -57.24)
CIE-LCHlch(59.80, 78.98, 313.56°)
OKLaboklab(67.65% 0.1234 -0.1611)
OKLCHoklch(67.65% 0.203 307.4)
XYZxyz(42.1074, 27.9059, 90.3390)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DF6 #AAF66D
analogous
#756DF6 #B96DF6 #F66DEE
triadic
#B96DF6 #F6B96D #6DF6B9
tetradic
#B96DF6 #F6756D #AAF66D #6DEEF6
square
#B96DF6 #F6756D #AAF66D #6DEEF6
split-complementary
#B96DF6 #EEF66D #6DF675
monochromatic
#800EDB #9D33F2 #B96DF6 #D5A7FA #F0E0FD

Accessibility & contrast

On white

3.19
#B96DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#B96DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DF6
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DF6#FFFFFF#000000##000000
##B96DF61.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8DFA
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#B086A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96df6;
/* rgb */ color: rgb(185, 109, 246);
/* oklch */ color: oklch(67.7% 0.203 307.4);
Tailwind
colors: {
  custom: {
    50: '#d19afa',
    500: '#b96df6',
    950: '#000000',
  },
}
SCSS
$custom: #b96df6;
$custom-light: #d19afa;
$custom-dark: #000000;
JSON
{
  "hex": "#b96df6",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 273.285,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67651,
    "c": 0.20288,
    "h": 307.4
  },
  "luminance": 0.27905
}

Semantic roles & 50–950 ramp

primary
#B96DF6
secondary
#DDF3CC
accent
#E50166
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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