#B96CFC#B96CFC

#B96CFC is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 67.9% C 0.211 H 306.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B96CFC
RGBrgb(185, 108, 252)
HSLhsl(272, 96%, 71%)
HSVhsv(272, 57%, 99%)
CMYKcmyk(26.6%, 57.1%, 0%, 1.2%)
CIE-LABlab(59.95, 56.28, -60.32)
CIE-LCHlch(59.95, 82.49, 313.02°)
OKLaboklab(67.87% 0.1247 -0.1701)
OKLCHoklch(67.87% 0.211 306.2)
XYZxyz(42.9371, 28.0681, 95.2323)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96CFC #AFFC6C
analogous
#716CFC #B96CFC #FC6CF7
triadic
#B96CFC #FCB96C #6CFCB9
tetradic
#B96CFC #FC716C #AFFC6C #6CF7FC
square
#B96CFC #FC716C #AFFC6C #6CF7FC
split-complementary
#B96CFC #F7FC6C #6CFC71
monochromatic
#7F05E9 #9C30FB #B96CFC #D6A8FD #F1E1FE

Accessibility & contrast

On white

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

On black

6.61
#B96CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96CFC
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96CFC#FFFFFF#000000##000000
##B96CFC1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#328EFF
Deuteranopia (green-blind)
#5291F9
Tritanopia (blue-blind)
#AE88AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96cfc;
/* rgb */ color: rgb(185, 108, 252);
/* oklch */ color: oklch(67.9% 0.211 306.2);
Tailwind
colors: {
  custom: {
    50: '#d299fe',
    500: '#b96cfc',
    950: '#000000',
  },
}
SCSS
$custom: #b96cfc;
$custom-light: #d299fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b96cfc",
  "rgb": {
    "r": 185,
    "g": 108,
    "b": 252
  },
  "hsl": {
    "h": 272.083,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67867,
    "c": 0.21091,
    "h": 306.2
  },
  "luminance": 0.28068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B96CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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