#B96DFC#B96DFC

#B96DFC is a light, highly saturated violet. Relative luminance 0.283; OKLCH L 68.0% C 0.209 H 306.1°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B96DFC
RGBrgb(185, 109, 252)
HSLhsl(272, 96%, 71%)
HSVhsv(272, 57%, 99%)
CMYKcmyk(26.6%, 56.7%, 0%, 1.2%)
CIE-LABlab(60.14, 55.77, -60.01)
CIE-LCHlch(60.14, 81.93, 312.90°)
OKLaboklab(68.01% 0.1235 -0.1692)
OKLCHoklch(68.01% 0.209 306.1)
XYZxyz(43.0432, 28.2802, 95.2676)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DFC #B0FC6D
analogous
#716DFC #B96DFC #FC6DF8
triadic
#B96DFC #FCB96D #6DFCB9
tetradic
#B96DFC #FC716D #B0FC6D #6DF8FC
square
#B96DFC #FC716D #B0FC6D #6DF8FC
split-complementary
#B96DFC #F8FC6D #6DFC71
monochromatic
#7F05EA #9C31FB #B96DFC #D6A9FD #F1E1FE

Accessibility & contrast

On white

3.16
#B96DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B96DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DFC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DFC#FFFFFF#000000##000000
##B96DFC1.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#358EFF
Deuteranopia (green-blind)
#5491F9
Tritanopia (blue-blind)
#AE88AA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b96dfc;
/* rgb */ color: rgb(185, 109, 252);
/* oklch */ color: oklch(68.0% 0.209 306.1);
Tailwind
colors: {
  custom: {
    50: '#d29afe',
    500: '#b96dfc',
    950: '#000000',
  },
}
SCSS
$custom: #b96dfc;
$custom-light: #d29afe;
$custom-dark: #000000;
JSON
{
  "hex": "#b96dfc",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 252
  },
  "hsl": {
    "h": 271.888,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68007,
    "c": 0.20947,
    "h": 306.1
  },
  "luminance": 0.2828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B96DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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