#B96DF8#B96DF8

#B96DF8 is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 67.8% C 0.205 H 307.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B96DF8
RGBrgb(185, 109, 248)
HSLhsl(273, 91%, 70%)
HSVhsv(273, 56%, 97%)
CMYKcmyk(25.4%, 56%, 0%, 2.7%)
CIE-LABlab(59.92, 54.87, -58.16)
CIE-LCHlch(59.92, 79.96, 313.33°)
OKLaboklab(67.77% 0.1234 -0.1638)
OKLCHoklch(67.77% 0.205 307)
XYZxyz(42.4160, 28.0293, 91.9644)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DF8 #ACF86D
analogous
#746DF8 #B96DF8 #F86DF1
triadic
#B96DF8 #F8B96D #6DF8B9
tetradic
#B96DF8 #F8746D #ACF86D #6DF1F8
square
#B96DF8 #F8746D #ACF86D #6DF1F8
split-complementary
#B96DF8 #F1F86D #6DF874
monochromatic
#7F0BE0 #9D33F5 #B96DF8 #D5A7FB #F1E2FE

Accessibility & contrast

On white

3.18
#B96DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#B96DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DF8
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DF8#FFFFFF#000000##000000
##B96DF81.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8EFD
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#AF87A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96df8;
/* rgb */ color: rgb(185, 109, 248);
/* oklch */ color: oklch(67.8% 0.205 307.0);
Tailwind
colors: {
  custom: {
    50: '#d19afb',
    500: '#b96df8',
    950: '#000000',
  },
}
SCSS
$custom: #b96df8;
$custom-light: #d19afb;
$custom-dark: #000000;
JSON
{
  "hex": "#b96df8",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 272.806,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.67769,
    "c": 0.20509,
    "h": 307
  },
  "luminance": 0.28029
}

Semantic roles & 50–950 ramp

primary
#B96DF8
secondary
#DFF4CD
accent
#E60068
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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