#B96CD2#B96CD2

#B96CD2 is a light, vivid purple. Relative luminance 0.257; OKLCH L 65.5% C 0.165 H 317.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B96CD2
RGBrgb(185, 108, 210)
HSLhsl(285, 53%, 62%)
HSVhsv(285, 49%, 82%)
CMYKcmyk(11.9%, 48.6%, 0%, 17.6%)
CIE-LABlab(57.75, 47.22, -40.36)
CIE-LCHlch(57.75, 62.12, 319.48°)
OKLaboklab(65.53% 0.1217 -0.1119)
OKLCHoklch(65.53% 0.165 317.4)
XYZxyz(37.0014, 25.6938, 63.9706)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96CD2 #85D26C
analogous
#866CD2 #B96CD2 #D26CB8
triadic
#B96CD2 #D2B96C #6CD2B9
tetradic
#B96CD2 #D2866C #85D26C #6CB8D2
square
#B96CD2 #D2866C #85D26C #6CB8D2
split-complementary
#B96CD2 #B8D26C #6CD286
monochromatic
#7C2E96 #A33DC4 #B96CD2 #CF9BE0 #E6CAEF

Accessibility & contrast

On white

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

On black

6.14
#B96CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96CD2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96CD2#FFFFFF#000000##000000
##B96CD21.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5986D5
Deuteranopia (green-blind)
#6F8DCF
Tritanopia (blue-blind)
#B97B95
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b96cd2;
/* rgb */ color: rgb(185, 108, 210);
/* oklch */ color: oklch(65.5% 0.165 317.4);
Tailwind
colors: {
  custom: {
    50: '#d098e0',
    500: '#b96cd2',
    950: '#000000',
  },
}
SCSS
$custom: #b96cd2;
$custom-light: #d098e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b96cd2",
  "rgb": {
    "r": 185,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 285.294,
    "s": 53.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65529,
    "c": 0.16538,
    "h": 317.4
  },
  "luminance": 0.25693
}

Semantic roles & 50–950 ramp

primary
#B96CD2
secondary
#C3E0BA
accent
#C1254B
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #B96CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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