#B96EFB#B96EFB

#B96EFB is a light, highly saturated violet. Relative luminance 0.284; OKLCH L 68.1% C 0.207 H 306.2°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#B96EFB
RGBrgb(185, 110, 251)
HSLhsl(272, 95%, 71%)
HSVhsv(272, 56%, 98%)
CMYKcmyk(26.3%, 56.2%, 0%, 1.6%)
CIE-LABlab(60.28, 55.04, -59.24)
CIE-LCHlch(60.28, 80.86, 312.89°)
OKLaboklab(68.09% 0.1222 -0.167)
OKLCHoklch(68.09% 0.207 306.2)
XYZxyz(42.9924, 28.4316, 94.4710)
Luminance0.2843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96EFB #B0FB6E
analogous
#726EFB #B96EFB #FB6EF6
triadic
#B96EFB #FBB96E #6EFBB9
tetradic
#B96EFB #FB726E #B0FB6E #6EF6FB
square
#B96EFB #FB726E #B0FB6E #6EF6FB
split-complementary
#B96EFB #F6FB6E #6EFB72
monochromatic
#7F06E8 #9C32F9 #B96EFB #D6AAFD #F1E1FE

Accessibility & contrast

On white

3.14
#B96EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#B96EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96EFB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96EFB#FFFFFF#000000##000000
##B96EFB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#AE89AA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b96efb;
/* rgb */ color: rgb(185, 110, 251);
/* oklch */ color: oklch(68.1% 0.207 306.2);
Tailwind
colors: {
  custom: {
    50: '#d19afd',
    500: '#b96efb',
    950: '#000000',
  },
}
SCSS
$custom: #b96efb;
$custom-light: #d19afd;
$custom-dark: #000000;
JSON
{
  "hex": "#b96efb",
  "rgb": {
    "r": 185,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 271.915,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68088,
    "c": 0.20693,
    "h": 306.2
  },
  "luminance": 0.28431
}

Semantic roles & 50–950 ramp

primary
#B96EFB
secondary
#E1F5CF
accent
#E6006B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B96EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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