#B96DF9#B96DF9

#B96DF9 is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 67.8% C 0.206 H 306.8°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B96DF9
RGBrgb(185, 109, 249)
HSLhsl(273, 92%, 70%)
HSVhsv(273, 56%, 98%)
CMYKcmyk(25.7%, 56.2%, 0%, 2.4%)
CIE-LABlab(59.97, 55.09, -58.63)
CIE-LCHlch(59.97, 80.45, 313.22°)
OKLaboklab(67.83% 0.1234 -0.1651)
OKLCHoklch(67.83% 0.206 306.8)
XYZxyz(42.5716, 28.0916, 92.7837)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DF9 #ADF96D
analogous
#736DF9 #B96DF9 #F96DF3
triadic
#B96DF9 #F9B96D #6DF9B9
tetradic
#B96DF9 #F9736D #ADF96D #6DF3F9
square
#B96DF9 #F9736D #ADF96D #6DF3F9
split-complementary
#B96DF9 #F3F96D #6DF973
monochromatic
#7F09E2 #9D32F7 #B96DF9 #D5A8FB #F1E2FE

Accessibility & contrast

On white

3.17
#B96DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#B96DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DF9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DF9#FFFFFF#000000##000000
##B96DF91.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#398EFE
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#AF87A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96df9;
/* rgb */ color: rgb(185, 109, 249);
/* oklch */ color: oklch(67.8% 0.206 306.8);
Tailwind
colors: {
  custom: {
    50: '#d19afc',
    500: '#b96df9',
    950: '#000000',
  },
}
SCSS
$custom: #b96df9;
$custom-light: #d19afc;
$custom-dark: #000000;
JSON
{
  "hex": "#b96df9",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 249
  },
  "hsl": {
    "h": 272.571,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67828,
    "c": 0.20618,
    "h": 306.8
  },
  "luminance": 0.28091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B96DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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