#BB87BB#BB87BB

#BB87BB is a light, moderate purple. Relative luminance 0.315; OKLCH L 69.2% C 0.095 H 326.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#BB87BB
RGBrgb(187, 135, 187)
HSLhsl(300, 28%, 63%)
HSVhsv(300, 28%, 73%)
CMYKcmyk(0%, 27.8%, 0%, 26.7%)
CIE-LABlab(62.91, 28.61, -19.34)
CIE-LCHlch(62.91, 34.53, 325.94°)
OKLaboklab(69.16% 0.0791 -0.0522)
OKLCHoklch(69.16% 0.095 326.5)
XYZxyz(38.1262, 31.4818, 51.0723)
Luminance0.3148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87BB #87BB87
analogous
#A187BB #BB87BB #BB87A1
triadic
#BB87BB #BBBB87 #87BBBB
tetradic
#BB87BB #BBA187 #87BB87 #87A1BB
square
#BB87BB #BBA187 #87BB87 #87A1BB
split-complementary
#BB87BB #A1BB87 #87BBA1
monochromatic
#7F487F #A560A5 #BB87BB #D1AED1 #E7D5E7

Accessibility & contrast

On white

2.88
#BB87BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#BB87BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87BB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87BB#FFFFFF#000000##000000
##BB87BB1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8494BD
Deuteranopia (green-blind)
#909BB9
Tritanopia (blue-blind)
#BE8B9A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb87bb;
/* rgb */ color: rgb(187, 135, 187);
/* oklch */ color: oklch(69.2% 0.095 326.5);
Tailwind
colors: {
  custom: {
    50: '#d0aacf',
    500: '#bb87bb',
    950: '#000000',
  },
}
SCSS
$custom: #bb87bb;
$custom-light: #d0aacf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87bb",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.69155,
    "c": 0.09477,
    "h": 326.5
  },
  "luminance": 0.31481
}

Semantic roles & 50–950 ramp

primary
#BB87BB
secondary
#C6D8C6
accent
#A63F3F
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141013
muted
#827F82

Preview Lab

Preview with #BB87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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