#B96CD3#B96CD3

#B96CD3 is a light, vivid purple. Relative luminance 0.257; OKLCH L 65.6% C 0.166 H 317.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B96CD3
RGBrgb(185, 108, 211)
HSLhsl(285, 54%, 63%)
HSVhsv(285, 49%, 83%)
CMYKcmyk(12.3%, 48.8%, 0%, 17.3%)
CIE-LABlab(57.79, 47.42, -40.85)
CIE-LCHlch(57.79, 62.59, 319.26°)
OKLaboklab(65.58% 0.1219 -0.1134)
OKLCHoklch(65.58% 0.166 317.1)
XYZxyz(37.1263, 25.7438, 64.6287)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96CD3 #86D36C
analogous
#856CD3 #B96CD3 #D36CBA
triadic
#B96CD3 #D3B96C #6CD3B9
tetradic
#B96CD3 #D3856C #86D36C #6CBAD3
square
#B96CD3 #D3856C #86D36C #6CBAD3
split-complementary
#B96CD3 #BAD36C #6CD385
monochromatic
#7D2D97 #A33DC5 #B96CD3 #CF9BE1 #E6CAEF

Accessibility & contrast

On white

3.42
#B96CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#B96CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96CD3
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96CD3#FFFFFF#000000##000000
##B96CD31.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5886D7
Deuteranopia (green-blind)
#6F8DD0
Tritanopia (blue-blind)
#B87B96
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b96cd3;
/* rgb */ color: rgb(185, 108, 211);
/* oklch */ color: oklch(65.6% 0.166 317.1);
Tailwind
colors: {
  custom: {
    50: '#d098e1',
    500: '#b96cd3',
    950: '#000000',
  },
}
SCSS
$custom: #b96cd3;
$custom-light: #d098e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b96cd3",
  "rgb": {
    "r": 185,
    "g": 108,
    "b": 211
  },
  "hsl": {
    "h": 284.854,
    "s": 53.927,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6558,
    "c": 0.16644,
    "h": 317.1
  },
  "luminance": 0.25743
}

Semantic roles & 50–950 ramp

primary
#B96CD3
secondary
#C4E0BB
accent
#C1244C
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #B96CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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