#B87DB2#B87DB2

#B87DB2 is a light, moderate purple. Relative luminance 0.281; OKLCH L 66.7% C 0.102 H 330.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B87DB2
RGBrgb(184, 125, 178)
HSLhsl(306, 29%, 61%)
HSVhsv(306, 32%, 72%)
CMYKcmyk(0%, 32.1%, 3.3%, 27.8%)
CIE-LABlab(59.95, 31.45, -18.76)
CIE-LCHlch(59.95, 36.63, 329.18°)
OKLaboklab(66.72% 0.0885 -0.0506)
OKLCHoklch(66.72% 0.102 330.2)
XYZxyz(35.1361, 28.0733, 45.6787)
Luminance0.2807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DB2 #7DB883
analogous
#A07DB8 #B87DB2 #B87D94
triadic
#B87DB2 #B2B87D #7DB2B8
tetradic
#B87DB2 #B8A07D #7DB883 #7D94B8
square
#B87DB2 #B8A07D #7DB883 #7D94B8
split-complementary
#B87DB2 #94B87D #7DB8A0
monochromatic
#794273 #A05899 #B87DB2 #CEA5C9 #E3CCE1

Accessibility & contrast

On white

3.17
#B87DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#B87DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87DB2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87DB2#FFFFFF#000000##000000
##B87DB21.003.176.616.61
#FFFFFF3.171.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8CB4
Deuteranopia (green-blind)
#8993B0
Tritanopia (blue-blind)
#BD8190
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b87db2;
/* rgb */ color: rgb(184, 125, 178);
/* oklch */ color: oklch(66.7% 0.102 330.2);
Tailwind
colors: {
  custom: {
    50: '#cea3c9',
    500: '#b87db2',
    950: '#000000',
  },
}
SCSS
$custom: #b87db2;
$custom-light: #cea3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b87db2",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 306.102,
    "s": 29.353,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66724,
    "c": 0.1019,
    "h": 330.2
  },
  "luminance": 0.28072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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