#B96BB2#B96BB2

#B96BB2 is a light, vivid purple. Relative luminance 0.240; OKLCH L 63.9% C 0.135 H 330.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B96BB2
RGBrgb(185, 107, 178)
HSLhsl(305, 36%, 57%)
HSVhsv(305, 42%, 73%)
CMYKcmyk(0%, 42.2%, 3.8%, 27.5%)
CIE-LABlab(56.13, 41.57, -24.60)
CIE-LCHlch(56.13, 48.30, 329.38°)
OKLaboklab(63.87% 0.1173 -0.0668)
OKLCHoklch(63.87% 0.135 330.3)
XYZxyz(33.3008, 24.0458, 44.9981)
Luminance0.2404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BB2 #6BB972
analogous
#996BB9 #B96BB2 #B96B8B
triadic
#B96BB2 #B2B96B #6BB2B9
tetradic
#B96BB2 #B9996B #6BB972 #6B8BB9
square
#B96BB2 #B9996B #6BB972 #6B8BB9
split-complementary
#B96BB2 #8BB96B #6BB999
monochromatic
#73366E #9D4A95 #B96BB2 #CD95C8 #E0BEDD

Accessibility & contrast

On white

3.62
#B96BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#B96BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BB2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BB2#FFFFFF#000000##000000
##B96BB21.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6880B5
Deuteranopia (green-blind)
#7C8AB0
Tritanopia (blue-blind)
#BF7186
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b96bb2;
/* rgb */ color: rgb(185, 107, 178);
/* oklch */ color: oklch(63.9% 0.135 330.3);
Tailwind
colors: {
  custom: {
    50: '#cf97c9',
    500: '#b96bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b96bb2;
$custom-light: #cf97c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bb2",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 305.385,
    "s": 35.78,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63866,
    "c": 0.135,
    "h": 330.3
  },
  "luminance": 0.24044
}

Semantic roles & 50–950 ramp

primary
#B96BB2
secondary
#B0D0B3
accent
#CC665C
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#140E13
muted
#827E82

Preview Lab

Preview with #B96BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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