#B96EF5#B96EF5

#B96EF5 is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 67.7% C 0.200 H 307.5°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B96EF5
RGBrgb(185, 110, 245)
HSLhsl(273, 87%, 70%)
HSVhsv(273, 55%, 96%)
CMYKcmyk(24.5%, 55.1%, 0%, 3.9%)
CIE-LABlab(59.94, 53.69, -56.46)
CIE-LCHlch(59.94, 77.91, 313.56°)
OKLaboklab(67.74% 0.1221 -0.1588)
OKLCHoklch(67.74% 0.2 307.5)
XYZxyz(42.0616, 28.0592, 89.5686)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96EF5 #AAF56E
analogous
#756EF5 #B96EF5 #F56EEE
triadic
#B96EF5 #F5B96E #6EF5B9
tetradic
#B96EF5 #F5756E #AAF56E #6EEEF5
square
#B96EF5 #F5756E #AAF56E #6EEEF5
split-complementary
#B96EF5 #EEF56E #6EF575
monochromatic
#800FDA #9D35F1 #B96EF5 #D5A7F9 #F0E1FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B96EF5#FFFFFF#000000##000000
##B96EF51.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)
#408EF9
Deuteranopia (green-blind)
#5B91F2
Tritanopia (blue-blind)
#B087A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96ef5;
/* rgb */ color: rgb(185, 110, 245);
/* oklch */ color: oklch(67.7% 0.200 307.5);
Tailwind
colors: {
  custom: {
    50: '#d19af9',
    500: '#b96ef5',
    950: '#000000',
  },
}
SCSS
$custom: #b96ef5;
$custom-light: #d19af9;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ef5",
  "rgb": {
    "r": 185,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 273.333,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67735,
    "c": 0.20031,
    "h": 307.5
  },
  "luminance": 0.28059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B96EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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