#BB87D7#BB87D7

#BB87D7 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.3% C 0.126 H 313.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#BB87D7
RGBrgb(187, 135, 215)
HSLhsl(279, 50%, 69%)
HSVhsv(279, 37%, 84%)
CMYKcmyk(13%, 37.2%, 0%, 15.7%)
CIE-LABlab(64.00, 34.26, -33.38)
CIE-LCHlch(64.00, 47.83, 315.74°)
OKLaboklab(70.34% 0.0863 -0.092)
OKLCHoklch(70.34% 0.126 313.2)
XYZxyz(41.4212, 32.7998, 68.4258)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87D7 #A3D787
analogous
#9387D7 #BB87D7 #D787CB
triadic
#BB87D7 #D7BB87 #87D7BB
tetradic
#BB87D7 #D79387 #A3D787 #87CBD7
square
#BB87D7 #D79387 #A3D787 #87CBD7
split-complementary
#BB87D7 #CBD787 #87D793
monochromatic
#8339AB #A159C8 #BB87D7 #D5B5E6 #EFE3F6

Accessibility & contrast

On white

2.78
#BB87D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#BB87D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87D7
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87D7#FFFFFF#000000##000000
##BB87D71.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7998DA
Deuteranopia (green-blind)
#859CD5
Tritanopia (blue-blind)
#B992A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb87d7;
/* rgb */ color: rgb(187, 135, 215);
/* oklch */ color: oklch(70.3% 0.126 313.2);
Tailwind
colors: {
  custom: {
    50: '#d0aae3',
    500: '#bb87d7',
    950: '#000000',
  },
}
SCSS
$custom: #bb87d7;
$custom-light: #d0aae3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87d7",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 215
  },
  "hsl": {
    "h": 279,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70338,
    "c": 0.12615,
    "h": 313.2
  },
  "luminance": 0.32799
}

Semantic roles & 50–950 ramp

primary
#BB87D7
secondary
#D9E9D1
accent
#BD285C
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BB87D7

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

Preview Lab → · Contrast checker → · Palette generator →

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