#BB87C2#BB87C2

#BB87C2 is a light, moderate purple. Relative luminance 0.318; OKLCH L 69.4% C 0.102 H 322.5°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#BB87C2
RGBrgb(187, 135, 194)
HSLhsl(293, 33%, 65%)
HSVhsv(293, 30%, 76%)
CMYKcmyk(3.6%, 30.4%, 0%, 23.9%)
CIE-LABlab(63.17, 29.97, -22.90)
CIE-LCHlch(63.17, 37.71, 322.62°)
OKLaboklab(69.43% 0.0811 -0.0622)
OKLCHoklch(69.43% 0.102 322.5)
XYZxyz(38.8939, 31.7889, 55.1155)
Luminance0.3179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87C2 #8EC287
analogous
#9E87C2 #BB87C2 #C287AC
triadic
#BB87C2 #C2BB87 #87C2BB
tetradic
#BB87C2 #C29E87 #8EC287 #87ACC2
square
#BB87C2 #C29E87 #8EC287 #87ACC2
split-complementary
#BB87C2 #ACC287 #87C29E
monochromatic
#814689 #A45EAD #BB87C2 #D2B0D7 #E9D8EB

Accessibility & contrast

On white

2.85
#BB87C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#BB87C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87C2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87C2#FFFFFF#000000##000000
##BB87C21.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8195C4
Deuteranopia (green-blind)
#8D9BC0
Tritanopia (blue-blind)
#BD8D9C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb87c2;
/* rgb */ color: rgb(187, 135, 194);
/* oklch */ color: oklch(69.4% 0.102 322.5);
Tailwind
colors: {
  custom: {
    50: '#d0aad4',
    500: '#bb87c2',
    950: '#000000',
  },
}
SCSS
$custom: #bb87c2;
$custom-light: #d0aad4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87c2",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 292.881,
    "s": 32.597,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69434,
    "c": 0.1022,
    "h": 322.5
  },
  "luminance": 0.31788
}

Semantic roles & 50–950 ramp

primary
#BB87C2
secondary
#CBDDC8
accent
#AB3A48
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141014
muted
#827F83

Preview Lab

Preview with #BB87C2

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

Preview Lab → · Contrast checker → · Palette generator →

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