#BB87B2#BB87B2

#BB87B2 is a light, moderate pink. Relative luminance 0.311; OKLCH L 68.8% C 0.086 H 332.7°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#BB87B2
RGBrgb(187, 135, 178)
HSLhsl(310, 28%, 63%)
HSVhsv(310, 28%, 73%)
CMYKcmyk(0%, 27.8%, 4.8%, 26.7%)
CIE-LABlab(62.60, 26.93, -14.72)
CIE-LCHlch(62.60, 30.69, 331.33°)
OKLaboklab(68.81% 0.0763 -0.0394)
OKLCHoklch(68.81% 0.086 332.7)
XYZxyz(37.1928, 31.1084, 46.1562)
Luminance0.3111 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87B2 #87BB90
analogous
#AA87BB #BB87B2 #BB8798
triadic
#BB87B2 #B2BB87 #87B2BB
tetradic
#BB87B2 #BBAA87 #87BB90 #8798BB
square
#BB87B2 #BBAA87 #87BB90 #8798BB
split-complementary
#BB87B2 #98BB87 #87BBAA
monochromatic
#7F4876 #A56099 #BB87B2 #D1AECB #E7D5E4

Accessibility & contrast

On white

2.91
#BB87B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#BB87B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87B2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87B2#FFFFFF#000000##000000
##BB87B21.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8693B4
Deuteranopia (green-blind)
#929AB0
Tritanopia (blue-blind)
#C08A96
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb87b2;
/* rgb */ color: rgb(187, 135, 178);
/* oklch */ color: oklch(68.8% 0.086 332.7);
Tailwind
colors: {
  custom: {
    50: '#d0aac9',
    500: '#bb87b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb87b2;
$custom-light: #d0aac9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87b2",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 310.385,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68812,
    "c": 0.0859,
    "h": 332.7
  },
  "luminance": 0.31107
}

Semantic roles & 50–950 ramp

primary
#BB87B2
secondary
#C6D8C9
accent
#A6513F
background
#FCFAFC
surface
#F9F4F8
border
#D2CED1
text
#141013
muted
#827F82

Preview Lab

Preview with #BB87B2

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

Preview Lab → · Contrast checker → · Palette generator →

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