#B96CFB#B96CFB

#B96CFB is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 67.8% C 0.210 H 306.5°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B96CFB
RGBrgb(185, 108, 251)
HSLhsl(272, 95%, 70%)
HSVhsv(272, 57%, 98%)
CMYKcmyk(26.3%, 57%, 0%, 1.6%)
CIE-LABlab(59.89, 56.05, -59.86)
CIE-LCHlch(59.89, 82.00, 313.12°)
OKLaboklab(67.81% 0.1247 -0.1687)
OKLCHoklch(67.81% 0.21 306.5)
XYZxyz(42.7791, 28.0049, 94.3999)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96CFB #AEFB6C
analogous
#716CFB #B96CFB #FB6CF5
triadic
#B96CFB #FBB96C #6CFBB9
tetradic
#B96CFB #FB716C #AEFB6C #6CF5FB
square
#B96CFB #FB716C #AEFB6C #6CF5FB
split-complementary
#B96CFB #F5FB6C #6CFB71
monochromatic
#7F06E6 #9D30F9 #B96CFB #D5A8FD #F1E1FE

Accessibility & contrast

On white

3.18
#B96CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#B96CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96CFB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96CFB#FFFFFF#000000##000000
##B96CFB1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#348EFF
Deuteranopia (green-blind)
#5391F8
Tritanopia (blue-blind)
#AE87A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96cfb;
/* rgb */ color: rgb(185, 108, 251);
/* oklch */ color: oklch(67.8% 0.210 306.5);
Tailwind
colors: {
  custom: {
    50: '#d299fd',
    500: '#b96cfb',
    950: '#000000',
  },
}
SCSS
$custom: #b96cfb;
$custom-light: #d299fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b96cfb",
  "rgb": {
    "r": 185,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 272.308,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67807,
    "c": 0.20982,
    "h": 306.5
  },
  "luminance": 0.28004
}

Semantic roles & 50–950 ramp

primary
#B96CFB
secondary
#E0F5CE
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B96CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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