#B87FA2#B87FA2

#B87FA2 is a light, moderate pink. Relative luminance 0.280; OKLCH L 66.5% C 0.084 H 342.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B87FA2
RGBrgb(184, 127, 162)
HSLhsl(323, 29%, 61%)
HSVhsv(323, 31%, 72%)
CMYKcmyk(0%, 31%, 12%, 27.8%)
CIE-LABlab(59.87, 27.49, -9.74)
CIE-LCHlch(59.87, 29.16, 340.48°)
OKLaboklab(66.48% 0.0803 -0.0257)
OKLCHoklch(66.48% 0.084 342.2)
XYZxyz(33.8781, 27.9793, 37.7915)
Luminance0.2798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FA2 #7FB895
analogous
#B17FB8 #B87FA2 #B87F85
triadic
#B87FA2 #A2B87F #7FA2B8
tetradic
#B87FA2 #B8B17F #7FB895 #7F85B8
square
#B87FA2 #B8B17F #7FB895 #7F85B8
split-complementary
#B87FA2 #85B87F #7FB8B1
monochromatic
#794364 #A15985 #B87FA2 #CEA6BF #E4CEDB

Accessibility & contrast

On white

3.18
#B87FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#B87FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87FA2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FA2#FFFFFF#000000##000000
##B87FA21.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#828BA3
Deuteranopia (green-blind)
#8F94A0
Tritanopia (blue-blind)
#BF7F8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b87fa2;
/* rgb */ color: rgb(184, 127, 162);
/* oklch */ color: oklch(66.5% 0.084 342.2);
Tailwind
colors: {
  custom: {
    50: '#cea5bd',
    500: '#b87fa2',
    950: '#000000',
  },
}
SCSS
$custom: #b87fa2;
$custom-light: #cea5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b87fa2",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 323.158,
    "s": 28.643,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66479,
    "c": 0.08429,
    "h": 342.2
  },
  "luminance": 0.27978
}

Semantic roles & 50–950 ramp

primary
#B87FA2
secondary
#BFD4C7
accent
#A7673E
background
#FCFAFB
surface
#F9F4F6
border
#D2CED0
text
#140F12
muted
#827F81

Preview Lab

Preview with #B87FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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