#BB87CF#BB87CF

#BB87CF is a light, moderate purple. Relative luminance 0.324; OKLCH L 70.0% C 0.117 H 316.3°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#BB87CF
RGBrgb(187, 135, 207)
HSLhsl(283, 43%, 67%)
HSVhsv(283, 35%, 81%)
CMYKcmyk(9.7%, 34.8%, 0%, 18.8%)
CIE-LABlab(63.67, 32.59, -29.42)
CIE-LCHlch(63.67, 43.90, 317.92°)
OKLaboklab(69.98% 0.0845 -0.0807)
OKLCHoklch(69.98% 0.117 316.3)
XYZxyz(40.4183, 32.3986, 63.1438)
Luminance0.3240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87CF #9BCF87
analogous
#9787CF #BB87CF #CF87BF
triadic
#BB87CF #CFBB87 #87CFBB
tetradic
#BB87CF #CF9787 #9BCF87 #87BFCF
square
#BB87CF #CF9787 #9BCF87 #87BFCF
split-complementary
#BB87CF #BFCF87 #87CF97
monochromatic
#833F9D #A25BBE #BB87CF #D4B3E0 #EDDEF2

Accessibility & contrast

On white

2.81
#BB87CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#BB87CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87CF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87CF#FFFFFF#000000##000000
##BB87CF1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C97D2
Deuteranopia (green-blind)
#899CCD
Tritanopia (blue-blind)
#BA90A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb87cf;
/* rgb */ color: rgb(187, 135, 207);
/* oklch */ color: oklch(70.0% 0.117 316.3);
Tailwind
colors: {
  custom: {
    50: '#d0aade',
    500: '#bb87cf',
    950: '#000000',
  },
}
SCSS
$custom: #bb87cf;
$custom-light: #d0aade;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87cf",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 283.333,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69982,
    "c": 0.1168,
    "h": 316.3
  },
  "luminance": 0.32398
}

Semantic roles & 50–950 ramp

primary
#BB87CF
secondary
#D4E4CD
accent
#B63055
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BB87CF

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

Preview Lab → · Contrast checker → · Palette generator →

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