#BB87D2#BB87D2

#BB87D2 is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.1% C 0.120 H 315.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#BB87D2
RGBrgb(187, 135, 210)
HSLhsl(282, 45%, 68%)
HSVhsv(282, 36%, 82%)
CMYKcmyk(11%, 35.7%, 0%, 17.6%)
CIE-LABlab(63.79, 33.21, -30.91)
CIE-LCHlch(63.79, 45.37, 317.05°)
OKLaboklab(70.11% 0.0852 -0.0849)
OKLCHoklch(70.11% 0.12 315.1)
XYZxyz(40.7885, 32.5467, 65.0937)
Luminance0.3255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87D2 #9ED287
analogous
#9587D2 #BB87D2 #D287C4
triadic
#BB87D2 #D2BB87 #87D2BB
tetradic
#BB87D2 #D29587 #9ED287 #87C4D2
square
#BB87D2 #D29587 #9ED287 #87C4D2
split-complementary
#BB87D2 #C4D287 #87D295
monochromatic
#833DA2 #A25AC1 #BB87D2 #D4B4E3 #EDE0F3

Accessibility & contrast

On white

2.80
#BB87D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#BB87D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87D2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87D2#FFFFFF#000000##000000
##BB87D21.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B97D5
Deuteranopia (green-blind)
#879CD0
Tritanopia (blue-blind)
#BA91A3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb87d2;
/* rgb */ color: rgb(187, 135, 210);
/* oklch */ color: oklch(70.1% 0.120 315.1);
Tailwind
colors: {
  custom: {
    50: '#d0aae0',
    500: '#bb87d2',
    950: '#000000',
  },
}
SCSS
$custom: #bb87d2;
$custom-light: #d0aae0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87d2",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 281.6,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70114,
    "c": 0.12029,
    "h": 315.1
  },
  "luminance": 0.32546
}

Semantic roles & 50–950 ramp

primary
#BB87D2
secondary
#D6E6CF
accent
#B92D58
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BB87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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