#BB87D5#BB87D5

#BB87D5 is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.2% C 0.124 H 313.9°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#BB87D5
RGBrgb(187, 135, 213)
HSLhsl(280, 48%, 68%)
HSVhsv(280, 37%, 84%)
CMYKcmyk(12.2%, 36.6%, 0%, 16.5%)
CIE-LABlab(63.92, 33.84, -32.40)
CIE-LCHlch(63.92, 46.84, 316.25°)
OKLaboklab(70.25% 0.0859 -0.0892)
OKLCHoklch(70.25% 0.124 313.9)
XYZxyz(41.1658, 32.6976, 67.0806)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87D5 #A1D587
analogous
#9487D5 #BB87D5 #D587C8
triadic
#BB87D5 #D5BB87 #87D5BB
tetradic
#BB87D5 #D59487 #A1D587 #87C8D5
square
#BB87D5 #D59487 #A1D587 #87C8D5
split-complementary
#BB87D5 #C8D587 #87D594
monochromatic
#833AA7 #A15AC5 #BB87D5 #D5B4E5 #EEE2F5

Accessibility & contrast

On white

2.79
#BB87D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#BB87D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87D5
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87D5#FFFFFF#000000##000000
##BB87D51.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A98D8
Deuteranopia (green-blind)
#869CD3
Tritanopia (blue-blind)
#B991A4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb87d5;
/* rgb */ color: rgb(187, 135, 213);
/* oklch */ color: oklch(70.2% 0.124 313.9);
Tailwind
colors: {
  custom: {
    50: '#d0aae2',
    500: '#bb87d5',
    950: '#000000',
  },
}
SCSS
$custom: #bb87d5;
$custom-light: #d0aae2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87d5",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 280,
    "s": 48.148,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70248,
    "c": 0.12379,
    "h": 313.9
  },
  "luminance": 0.32697
}

Semantic roles & 50–950 ramp

primary
#BB87D5
secondary
#D8E8D0
accent
#BB2A5B
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BB87D5

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

Preview Lab → · Contrast checker → · Palette generator →

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