#B87BB2#B87BB2

#B87BB2 is a light, moderate purple. Relative luminance 0.276; OKLCH L 66.4% C 0.106 H 330.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B87BB2
RGBrgb(184, 123, 178)
HSLhsl(306, 30%, 60%)
HSVhsv(306, 33%, 72%)
CMYKcmyk(0%, 33.2%, 3.3%, 27.8%)
CIE-LABlab(59.50, 32.56, -19.46)
CIE-LCHlch(59.50, 37.93, 329.14°)
OKLaboklab(66.38% 0.0916 -0.0525)
OKLCHoklch(66.38% 0.106 330.2)
XYZxyz(34.8855, 27.5721, 45.5952)
Luminance0.2757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BB2 #7BB881
analogous
#A07BB8 #B87BB2 #B87B93
triadic
#B87BB2 #B2B87B #7BB2B8
tetradic
#B87BB2 #B8A07B #7BB881 #7B93B8
square
#B87BB2 #B8A07B #7BB881 #7B93B8
split-complementary
#B87BB2 #93B87B #7BB8A0
monochromatic
#784173 #A05699 #B87BB2 #CDA3C9 #E3CBE0

Accessibility & contrast

On white

3.22
#B87BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#B87BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87BB2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BB2#FFFFFF#000000##000000
##B87BB21.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB4
Deuteranopia (green-blind)
#8892B0
Tritanopia (blue-blind)
#BD7F8F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b87bb2;
/* rgb */ color: rgb(184, 123, 178);
/* oklch */ color: oklch(66.4% 0.106 330.2);
Tailwind
colors: {
  custom: {
    50: '#cea2c9',
    500: '#b87bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b87bb2;
$custom-light: #cea2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bb2",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 305.902,
    "s": 30.049,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66379,
    "c": 0.10556,
    "h": 330.2
  },
  "luminance": 0.27571
}

Semantic roles & 50–950 ramp

primary
#B87BB2
secondary
#BCD3BE
accent
#A9473D
background
#FCFAFC
surface
#F9F3F8
border
#D2CDD1
text
#140F13
muted
#827F82

Preview Lab

Preview with #B87BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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