#BB87D4#BB87D4

#BB87D4 is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.2% C 0.123 H 314.3°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#BB87D4
RGBrgb(187, 135, 212)
HSLhsl(281, 47%, 68%)
HSVhsv(281, 36%, 83%)
CMYKcmyk(11.8%, 36.3%, 0%, 16.9%)
CIE-LABlab(63.87, 33.63, -31.90)
CIE-LCHlch(63.87, 46.35, 316.51°)
OKLaboklab(70.2% 0.0857 -0.0877)
OKLCHoklch(70.2% 0.123 314.3)
XYZxyz(41.0393, 32.6470, 66.4142)
Luminance0.3265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87D4 #A0D487
analogous
#9487D4 #BB87D4 #D487C7
triadic
#BB87D4 #D4BB87 #87D4BB
tetradic
#BB87D4 #D49487 #A0D487 #87C7D4
square
#BB87D4 #D49487 #A0D487 #87C7D4
split-complementary
#BB87D4 #C7D487 #87D494
monochromatic
#833BA5 #A15AC4 #BB87D4 #D5B4E4 #EEE1F4

Accessibility & contrast

On white

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

On black

7.53
#BB87D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87D4
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87D4#FFFFFF#000000##000000
##BB87D41.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A98D7
Deuteranopia (green-blind)
#879CD2
Tritanopia (blue-blind)
#B991A4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb87d4;
/* rgb */ color: rgb(187, 135, 212);
/* oklch */ color: oklch(70.2% 0.123 314.3);
Tailwind
colors: {
  custom: {
    50: '#d0aae1',
    500: '#bb87d4',
    950: '#000000',
  },
}
SCSS
$custom: #bb87d4;
$custom-light: #d0aae1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87d4",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 280.519,
    "s": 47.239,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70203,
    "c": 0.12262,
    "h": 314.3
  },
  "luminance": 0.32646
}

Semantic roles & 50–950 ramp

primary
#BB87D4
secondary
#D7E7D0
accent
#BA2B5A
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BB87D4

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

Preview Lab → · Contrast checker → · Palette generator →

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