#B96AF8#B96AF8

#B96AF8 is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.3% C 0.209 H 307.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B96AF8
RGBrgb(185, 106, 248)
HSLhsl(273, 91%, 69%)
HSVhsv(273, 57%, 97%)
CMYKcmyk(25.4%, 57.3%, 0%, 2.7%)
CIE-LABlab(59.34, 56.39, -59.08)
CIE-LCHlch(59.34, 81.67, 313.67°)
OKLaboklab(67.35% 0.1271 -0.1665)
OKLCHoklch(67.35% 0.209 307.4)
XYZxyz(42.1014, 27.4002, 91.8596)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96AF8 #A9F86A
analogous
#726AF8 #B96AF8 #F86AF0
triadic
#B96AF8 #F8B96A #6AF8B9
tetradic
#B96AF8 #F8726A #A9F86A #6AF0F8
square
#B96AF8 #F8726A #A9F86A #6AF0F8
split-complementary
#B96AF8 #F0F86A #6AF872
monochromatic
#800ADD #9E30F5 #B96AF8 #D4A4FB #F0DFFD

Accessibility & contrast

On white

3.24
#B96AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#B96AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96AF8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96AF8#FFFFFF#000000##000000
##B96AF81.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#338CFD
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#AF85A7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96af8;
/* rgb */ color: rgb(185, 106, 248);
/* oklch */ color: oklch(67.3% 0.209 307.4);
Tailwind
colors: {
  custom: {
    50: '#d298fb',
    500: '#b96af8',
    950: '#000000',
  },
}
SCSS
$custom: #b96af8;
$custom-light: #d298fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b96af8",
  "rgb": {
    "r": 185,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 273.38,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6735,
    "c": 0.20944,
    "h": 307.4
  },
  "luminance": 0.274
}

Semantic roles & 50–950 ramp

primary
#B96AF8
secondary
#DDF3CA
accent
#E60066
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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