#B96EF8#B96EF8

#B96EF8 is a light, highly saturated violet. Relative luminance 0.282; OKLCH L 67.9% C 0.204 H 306.9°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#B96EF8
RGBrgb(185, 110, 248)
HSLhsl(273, 91%, 70%)
HSVhsv(273, 56%, 97%)
CMYKcmyk(25.4%, 55.6%, 0%, 2.7%)
CIE-LABlab(60.11, 54.36, -57.86)
CIE-LCHlch(60.11, 79.39, 313.22°)
OKLaboklab(67.91% 0.1222 -0.1629)
OKLCHoklch(67.91% 0.204 306.9)
XYZxyz(42.5233, 28.2439, 92.0002)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96EF8 #ADF86E
analogous
#746EF8 #B96EF8 #F86EF2
triadic
#B96EF8 #F8B96E #6EF8B9
tetradic
#B96EF8 #F8746E #ADF86E #6EF2F8
square
#B96EF8 #F8746E #ADF86E #6EF2F8
split-complementary
#B96EF8 #F2F86E #6EF874
monochromatic
#7F0BE1 #9D34F5 #B96EF8 #D5A8FB #F1E2FE

Accessibility & contrast

On white

3.16
#B96EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#B96EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96EF8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96EF8#FFFFFF#000000##000000
##B96EF81.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8EFD
Deuteranopia (green-blind)
#5891F5
Tritanopia (blue-blind)
#AF88A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b96ef8;
/* rgb */ color: rgb(185, 110, 248);
/* oklch */ color: oklch(67.9% 0.204 306.9);
Tailwind
colors: {
  custom: {
    50: '#d19afb',
    500: '#b96ef8',
    950: '#000000',
  },
}
SCSS
$custom: #b96ef8;
$custom-light: #d19afb;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ef8",
  "rgb": {
    "r": 185,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 272.609,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67911,
    "c": 0.20362,
    "h": 306.9
  },
  "luminance": 0.28243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B96EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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