#B96BB5#B96BB5

#B96BB5 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.0% C 0.138 H 328.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B96BB5
RGBrgb(185, 107, 181)
HSLhsl(303, 36%, 57%)
HSVhsv(303, 42%, 73%)
CMYKcmyk(0%, 42.2%, 2.2%, 27.5%)
CIE-LABlab(56.26, 42.11, -26.14)
CIE-LCHlch(56.26, 49.57, 328.17°)
OKLaboklab(64% 0.118 -0.0712)
OKLCHoklch(64% 0.138 328.9)
XYZxyz(33.6053, 24.1676, 46.6018)
Luminance0.2417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BB5 #6BB96F
analogous
#966BB9 #B96BB5 #B96B8E
triadic
#B96BB5 #B5B96B #6BB5B9
tetradic
#B96BB5 #B9966B #6BB96F #6B8EB9
square
#B96BB5 #B9966B #6BB96F #6B8EB9
split-complementary
#B96BB5 #8EB96B #6BB996
monochromatic
#733670 #9D4A98 #B96BB5 #CD95CA #E0BEDF

Accessibility & contrast

On white

3.60
#B96BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#B96BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BB5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BB5#FFFFFF#000000##000000
##B96BB51.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B8
Deuteranopia (green-blind)
#7B8BB3
Tritanopia (blue-blind)
#BE7288
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b96bb5;
/* rgb */ color: rgb(185, 107, 181);
/* oklch */ color: oklch(64.0% 0.138 328.9);
Tailwind
colors: {
  custom: {
    50: '#cf97cb',
    500: '#b96bb5',
    950: '#000000',
  },
}
SCSS
$custom: #b96bb5;
$custom-light: #cf97cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bb5",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 181
  },
  "hsl": {
    "h": 303.077,
    "s": 35.78,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63997,
    "c": 0.1378,
    "h": 328.9
  },
  "luminance": 0.24166
}

Semantic roles & 50–950 ramp

primary
#B96BB5
secondary
#B0D0B2
accent
#CC625C
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#140E13
muted
#827E82

Preview Lab

Preview with #B96BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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