#BB87D3#BB87D3

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

Color values

HEX#BB87D3
RGBrgb(187, 135, 211)
HSLhsl(281, 46%, 68%)
HSVhsv(281, 36%, 83%)
CMYKcmyk(11.4%, 36%, 0%, 17.3%)
CIE-LABlab(63.83, 33.42, -31.41)
CIE-LCHlch(63.83, 45.86, 316.78°)
OKLaboklab(70.16% 0.0854 -0.0863)
OKLCHoklch(70.16% 0.121 314.7)
XYZxyz(40.9135, 32.5967, 65.7519)
Luminance0.3260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87D3 #9FD387
analogous
#9587D3 #BB87D3 #D387C5
triadic
#BB87D3 #D3BB87 #87D3BB
tetradic
#BB87D3 #D39587 #9FD387 #87C5D3
square
#BB87D3 #D39587 #9FD387 #87C5D3
split-complementary
#BB87D3 #C5D387 #87D395
monochromatic
#833CA4 #A25AC3 #BB87D3 #D4B4E3 #EEE1F4

Accessibility & contrast

On white

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

On black

7.52
#BB87D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87D3
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87D3#FFFFFF#000000##000000
##BB87D31.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb87d3;
/* rgb */ color: rgb(187, 135, 211);
/* oklch */ color: oklch(70.2% 0.121 314.7);
Tailwind
colors: {
  custom: {
    50: '#d0aae0',
    500: '#bb87d3',
    950: '#000000',
  },
}
SCSS
$custom: #bb87d3;
$custom-light: #d0aae0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87d3",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 211
  },
  "hsl": {
    "h": 281.053,
    "s": 46.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70158,
    "c": 0.12145,
    "h": 314.7
  },
  "luminance": 0.32596
}

Semantic roles & 50–950 ramp

primary
#BB87D3
secondary
#D7E7CF
accent
#BA2C59
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BB87D3

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

Preview Lab → · Contrast checker → · Palette generator →

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