#B96CD8#B96CD8

#B96CD8 is a light, vivid purple. Relative luminance 0.260; OKLCH L 65.8% C 0.172 H 315.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B96CD8
RGBrgb(185, 108, 216)
HSLhsl(283, 58%, 64%)
HSVhsv(283, 50%, 85%)
CMYKcmyk(14.4%, 50%, 0%, 15.3%)
CIE-LABlab(58.04, 48.46, -43.29)
CIE-LCHlch(58.04, 64.98, 318.22°)
OKLaboklab(65.84% 0.1225 -0.1204)
OKLCHoklch(65.84% 0.172 315.5)
XYZxyz(37.7629, 25.9984, 67.9814)
Luminance0.2600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96CD8 #8BD86C
analogous
#836CD8 #B96CD8 #D86CC1
triadic
#B96CD8 #D8B96C #6CD8B9
tetradic
#B96CD8 #D8836C #8BD86C #6CC1D8
square
#B96CD8 #D8836C #8BD86C #6CC1D8
split-complementary
#B96CD8 #C1D86C #6CD883
monochromatic
#7E2A9F #A23CCB #B96CD8 #D09CE5 #E7CDF2

Accessibility & contrast

On white

3.39
#B96CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#B96CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96CD8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96CD8#FFFFFF#000000##000000
##B96CD81.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5587DC
Deuteranopia (green-blind)
#6C8ED5
Tritanopia (blue-blind)
#B77C98
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b96cd8;
/* rgb */ color: rgb(185, 108, 216);
/* oklch */ color: oklch(65.8% 0.172 315.5);
Tailwind
colors: {
  custom: {
    50: '#d098e4',
    500: '#b96cd8',
    950: '#000000',
  },
}
SCSS
$custom: #b96cd8;
$custom-light: #d098e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b96cd8",
  "rgb": {
    "r": 185,
    "g": 108,
    "b": 216
  },
  "hsl": {
    "h": 282.778,
    "s": 58.065,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65839,
    "c": 0.17177,
    "h": 315.5
  },
  "luminance": 0.25997
}

Semantic roles & 50–950 ramp

primary
#B96CD8
secondary
#C8E3BD
accent
#C6204F
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E15
muted
#837E84

Preview Lab

Preview with #B96CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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