#B87CB2#B87CB2

#B87CB2 is a light, moderate purple. Relative luminance 0.278; OKLCH L 66.6% C 0.104 H 330.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B87CB2
RGBrgb(184, 124, 178)
HSLhsl(306, 30%, 60%)
HSVhsv(306, 33%, 72%)
CMYKcmyk(0%, 32.6%, 3.3%, 27.8%)
CIE-LABlab(59.73, 32.01, -19.11)
CIE-LCHlch(59.73, 37.28, 329.16°)
OKLaboklab(66.55% 0.09 -0.0516)
OKLCHoklch(66.55% 0.104 330.2)
XYZxyz(35.0101, 27.8214, 45.6368)
Luminance0.2782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87CB2 #7CB882
analogous
#A07CB8 #B87CB2 #B87C94
triadic
#B87CB2 #B2B87C #7CB2B8
tetradic
#B87CB2 #B8A07C #7CB882 #7C94B8
square
#B87CB2 #B8A07C #7CB882 #7C94B8
split-complementary
#B87CB2 #94B87C #7CB8A0
monochromatic
#784173 #A05799 #B87CB2 #CEA4C9 #E3CBE1

Accessibility & contrast

On white

3.20
#B87CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#B87CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87CB2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87CB2#FFFFFF#000000##000000
##B87CB21.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB4
Deuteranopia (green-blind)
#8893B0
Tritanopia (blue-blind)
#BD8090
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b87cb2;
/* rgb */ color: rgb(184, 124, 178);
/* oklch */ color: oklch(66.6% 0.104 330.2);
Tailwind
colors: {
  custom: {
    50: '#cea3c9',
    500: '#b87cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b87cb2;
$custom-light: #cea3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b87cb2",
  "rgb": {
    "r": 184,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 306,
    "s": 29.703,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66551,
    "c": 0.10373,
    "h": 330.2
  },
  "luminance": 0.2782
}

Semantic roles & 50–950 ramp

primary
#B87CB2
secondary
#BCD3BF
accent
#A8483D
background
#FCFAFC
surface
#F9F4F8
border
#D2CED1
text
#140F13
muted
#827F82

Preview Lab

Preview with #B87CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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