#B96FFB#B96FFB

#B96FFB is a light, highly saturated violet. Relative luminance 0.286; OKLCH L 68.2% C 0.205 H 306.1°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#B96FFB
RGBrgb(185, 111, 251)
HSLhsl(272, 95%, 71%)
HSVhsv(272, 56%, 98%)
CMYKcmyk(26.3%, 55.8%, 0%, 1.6%)
CIE-LABlab(60.47, 54.52, -58.93)
CIE-LCHlch(60.47, 80.29, 312.77°)
OKLaboklab(68.23% 0.121 -0.1661)
OKLCHoklch(68.23% 0.205 306.1)
XYZxyz(43.1009, 28.6486, 94.5072)
Luminance0.2865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FFB #B1FB6F
analogous
#736FFB #B96FFB #FB6FF7
triadic
#B96FFB #FBB96F #6FFBB9
tetradic
#B96FFB #FB736F #B1FB6F #6FF7FB
square
#B96FFB #FB736F #B1FB6F #6FF7FB
split-complementary
#B96FFB #F7FB6F #6FFB73
monochromatic
#7E06E9 #9C33F9 #B96FFB #D6ABFD #F1E1FE

Accessibility & contrast

On white

3.12
#B96FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#B96FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FFB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FFB#FFFFFF#000000##000000
##B96FFB1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8FFF
Deuteranopia (green-blind)
#5792F8
Tritanopia (blue-blind)
#AE8AAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b96ffb;
/* rgb */ color: rgb(185, 111, 251);
/* oklch */ color: oklch(68.2% 0.205 306.1);
Tailwind
colors: {
  custom: {
    50: '#d19bfd',
    500: '#b96ffb',
    950: '#000000',
  },
}
SCSS
$custom: #b96ffb;
$custom-light: #d19bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ffb",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 271.714,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6823,
    "c": 0.20547,
    "h": 306.1
  },
  "luminance": 0.28648
}

Semantic roles & 50–950 ramp

primary
#B96FFB
secondary
#E2F6D0
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B96FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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