#BB87C8#BB87C8

#BB87C8 is a light, moderate purple. Relative luminance 0.321; OKLCH L 69.7% C 0.109 H 319.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#BB87C8
RGBrgb(187, 135, 200)
HSLhsl(288, 37%, 66%)
HSVhsv(288, 33%, 78%)
CMYKcmyk(6.5%, 32.5%, 0%, 21.6%)
CIE-LABlab(63.40, 31.16, -25.92)
CIE-LCHlch(63.40, 40.53, 320.25°)
OKLaboklab(69.68% 0.0827 -0.0707)
OKLCHoklch(69.68% 0.109 319.5)
XYZxyz(39.5814, 32.0639, 58.7363)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87C8 #94C887
analogous
#9A87C8 #BB87C8 #C887B4
triadic
#BB87C8 #C8BB87 #87C8BB
tetradic
#BB87C8 #C89A87 #94C887 #87B4C8
square
#BB87C8 #C89A87 #94C887 #87B4C8
split-complementary
#BB87C8 #B4C887 #87C89A
monochromatic
#824392 #A35DB5 #BB87C8 #D3B1DB #EBDBEE

Accessibility & contrast

On white

2.83
#BB87C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#BB87C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87C8
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87C8#FFFFFF#000000##000000
##BB87C81.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F96CB
Deuteranopia (green-blind)
#8B9BC6
Tritanopia (blue-blind)
#BC8E9F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb87c8;
/* rgb */ color: rgb(187, 135, 200);
/* oklch */ color: oklch(69.7% 0.109 319.5);
Tailwind
colors: {
  custom: {
    50: '#d0aad9',
    500: '#bb87c8',
    950: '#000000',
  },
}
SCSS
$custom: #bb87c8;
$custom-light: #d0aad9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87c8",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 288,
    "s": 37.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69682,
    "c": 0.10883,
    "h": 319.5
  },
  "luminance": 0.32063
}

Semantic roles & 50–950 ramp

primary
#BB87C8
secondary
#CFE0CB
accent
#B0354E
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141014
muted
#827F83

Preview Lab

Preview with #BB87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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