#B96CF8#B96CF8

#B96CF8 is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.6% C 0.207 H 307.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B96CF8
RGBrgb(185, 108, 248)
HSLhsl(273, 91%, 70%)
HSVhsv(273, 56%, 97%)
CMYKcmyk(25.4%, 56.5%, 0%, 2.7%)
CIE-LABlab(59.72, 55.38, -58.47)
CIE-LCHlch(59.72, 80.53, 313.44°)
OKLaboklab(67.63% 0.1246 -0.1647)
OKLCHoklch(67.63% 0.207 307.1)
XYZxyz(42.3099, 27.8172, 91.9291)
Luminance0.2782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96CF8 #ABF86C
analogous
#736CF8 #B96CF8 #F86CF1
triadic
#B96CF8 #F8B96C #6CF8B9
tetradic
#B96CF8 #F8736C #ABF86C #6CF1F8
square
#B96CF8 #F8736C #ABF86C #6CF1F8
split-complementary
#B96CF8 #F1F86C #6CF873
monochromatic
#7F0BDF #9D32F5 #B96CF8 #D5A6FB #F1E1FE

Accessibility & contrast

On white

3.20
#B96CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#B96CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96CF8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96CF8#FFFFFF#000000##000000
##B96CF81.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#388DFD
Deuteranopia (green-blind)
#5691F5
Tritanopia (blue-blind)
#AF86A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96cf8;
/* rgb */ color: rgb(185, 108, 248);
/* oklch */ color: oklch(67.6% 0.207 307.1);
Tailwind
colors: {
  custom: {
    50: '#d199fb',
    500: '#b96cf8',
    950: '#000000',
  },
}
SCSS
$custom: #b96cf8;
$custom-light: #d199fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b96cf8",
  "rgb": {
    "r": 185,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 273,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67628,
    "c": 0.20654,
    "h": 307.1
  },
  "luminance": 0.27817
}

Semantic roles & 50–950 ramp

primary
#B96CF8
secondary
#DEF4CC
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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