#B96EF9#B96EF9

#B96EF9 is a light, highly saturated violet. Relative luminance 0.283; OKLCH L 68.0% C 0.205 H 306.6°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B96EF9
RGBrgb(185, 110, 249)
HSLhsl(272, 92%, 70%)
HSVhsv(272, 56%, 98%)
CMYKcmyk(25.7%, 55.8%, 0%, 2.4%)
CIE-LABlab(60.16, 54.58, -58.32)
CIE-LCHlch(60.16, 79.88, 313.11°)
OKLaboklab(67.97% 0.1222 -0.1642)
OKLCHoklch(67.97% 0.205 306.6)
XYZxyz(42.6788, 28.3061, 92.8194)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96EF9 #AEF96E
analogous
#736EF9 #B96EF9 #F96EF4
triadic
#B96EF9 #F9B96E #6EF9B9
tetradic
#B96EF9 #F9736E #AEF96E #6EF4F9
square
#B96EF9 #F9736E #AEF96E #6EF4F9
split-complementary
#B96EF9 #F4F96E #6EF973
monochromatic
#7F09E3 #9D33F7 #B96EF9 #D5A9FB #F1E2FE

Accessibility & contrast

On white

3.15
#B96EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B96EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96EF9
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96EF9#FFFFFF#000000##000000
##B96EF91.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8EFE
Deuteranopia (green-blind)
#5892F6
Tritanopia (blue-blind)
#AF88A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b96ef9;
/* rgb */ color: rgb(185, 110, 249);
/* oklch */ color: oklch(68.0% 0.205 306.6);
Tailwind
colors: {
  custom: {
    50: '#d19afc',
    500: '#b96ef9',
    950: '#000000',
  },
}
SCSS
$custom: #b96ef9;
$custom-light: #d19afc;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ef9",
  "rgb": {
    "r": 185,
    "g": 110,
    "b": 249
  },
  "hsl": {
    "h": 272.374,
    "s": 92.053,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6797,
    "c": 0.20472,
    "h": 306.6
  },
  "luminance": 0.28306
}

Semantic roles & 50–950 ramp

primary
#B96EF9
secondary
#E0F4CE
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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