#BB87CA#BB87CA

#BB87CA is a light, moderate purple. Relative luminance 0.322; OKLCH L 69.8% C 0.111 H 318.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#BB87CA
RGBrgb(187, 135, 202)
HSLhsl(287, 39%, 66%)
HSVhsv(287, 33%, 79%)
CMYKcmyk(7.4%, 33.2%, 0%, 20.8%)
CIE-LABlab(63.47, 31.56, -26.92)
CIE-LCHlch(63.47, 41.49, 319.54°)
OKLaboklab(69.77% 0.0832 -0.0736)
OKLCHoklch(69.77% 0.111 318.5)
XYZxyz(39.8167, 32.1580, 59.9753)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87CA #96CA87
analogous
#9987CA #BB87CA #CA87B7
triadic
#BB87CA #CABB87 #87CABB
tetradic
#BB87CA #CA9987 #96CA87 #87B7CA
square
#BB87CA #CA9987 #96CA87 #87B7CA
split-complementary
#BB87CA #B7CA87 #87CA99
monochromatic
#824295 #A35DB7 #BB87CA #D3B1DD #EBDCEF

Accessibility & contrast

On white

2.83
#BB87CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#BB87CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87CA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87CA#FFFFFF#000000##000000
##BB87CA1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E96CD
Deuteranopia (green-blind)
#8B9CC8
Tritanopia (blue-blind)
#BB8FA0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb87ca;
/* rgb */ color: rgb(187, 135, 202);
/* oklch */ color: oklch(69.8% 0.111 318.5);
Tailwind
colors: {
  custom: {
    50: '#d0aada',
    500: '#bb87ca',
    950: '#000000',
  },
}
SCSS
$custom: #bb87ca;
$custom-light: #d0aada;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87ca",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 286.567,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69767,
    "c": 0.11109,
    "h": 318.5
  },
  "luminance": 0.32157
}

Semantic roles & 50–950 ramp

primary
#BB87CA
secondary
#D0E1CB
accent
#B23450
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141015
muted
#827F83

Preview Lab

Preview with #BB87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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