#BB87CD#BB87CD

#BB87CD is a light, moderate purple. Relative luminance 0.323; OKLCH L 69.9% C 0.115 H 317.2°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#BB87CD
RGBrgb(187, 135, 205)
HSLhsl(285, 41%, 67%)
HSVhsv(285, 34%, 80%)
CMYKcmyk(8.8%, 34.1%, 0%, 19.6%)
CIE-LABlab(63.59, 32.18, -28.42)
CIE-LCHlch(63.59, 42.93, 318.54°)
OKLaboklab(69.9% 0.084 -0.0778)
OKLCHoklch(69.9% 0.115 317.2)
XYZxyz(40.1753, 32.3015, 61.8642)
Luminance0.3230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87CD #99CD87
analogous
#9887CD #BB87CD #CD87BC
triadic
#BB87CD #CDBB87 #87CDBB
tetradic
#BB87CD #CD9887 #99CD87 #87BCCD
square
#BB87CD #CD9887 #99CD87 #87BCCD
split-complementary
#BB87CD #BCCD87 #87CD98
monochromatic
#83409A #A35CBB #BB87CD #D3B2DF #ECDDF1

Accessibility & contrast

On white

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

On black

7.46
#BB87CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87CD
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87CD#FFFFFF#000000##000000
##BB87CD1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D97D0
Deuteranopia (green-blind)
#899CCB
Tritanopia (blue-blind)
#BB8FA1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb87cd;
/* rgb */ color: rgb(187, 135, 205);
/* oklch */ color: oklch(69.9% 0.115 317.2);
Tailwind
colors: {
  custom: {
    50: '#d0aadc',
    500: '#bb87cd',
    950: '#000000',
  },
}
SCSS
$custom: #bb87cd;
$custom-light: #d0aadc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87cd",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 284.571,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69895,
    "c": 0.11451,
    "h": 317.2
  },
  "luminance": 0.32301
}

Semantic roles & 50–950 ramp

primary
#BB87CD
secondary
#D2E3CD
accent
#B43153
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BB87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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