#BB87D8#BB87D8

#BB87D8 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.4% C 0.127 H 312.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#BB87D8
RGBrgb(187, 135, 216)
HSLhsl(279, 51%, 69%)
HSVhsv(279, 38%, 85%)
CMYKcmyk(13.4%, 37.5%, 0%, 15.3%)
CIE-LABlab(64.04, 34.47, -33.87)
CIE-LCHlch(64.04, 48.33, 315.50°)
OKLaboklab(70.38% 0.0866 -0.0934)
OKLCHoklch(70.38% 0.127 312.8)
XYZxyz(41.5501, 32.8514, 69.1045)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87D8 #A4D887
analogous
#9387D8 #BB87D8 #D887CC
triadic
#BB87D8 #D8BB87 #87D8BB
tetradic
#BB87D8 #D89387 #A4D887 #87CCD8
square
#BB87D8 #D89387 #A4D887 #87CCD8
split-complementary
#BB87D8 #CCD887 #87D893
monochromatic
#8338AD #A159C9 #BB87D8 #D5B5E7 #EFE3F6

Accessibility & contrast

On white

2.77
#BB87D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#BB87D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87D8
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87D8#FFFFFF#000000##000000
##BB87D81.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb87d8;
/* rgb */ color: rgb(187, 135, 216);
/* oklch */ color: oklch(70.4% 0.127 312.8);
Tailwind
colors: {
  custom: {
    50: '#d0aae4',
    500: '#bb87d8',
    950: '#000000',
  },
}
SCSS
$custom: #bb87d8;
$custom-light: #d0aae4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87d8",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 216
  },
  "hsl": {
    "h": 278.519,
    "s": 50.943,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70383,
    "c": 0.12733,
    "h": 312.8
  },
  "luminance": 0.32851
}

Semantic roles & 50–950 ramp

primary
#BB87D8
secondary
#DAE9D1
accent
#BE275D
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BB87D8

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

Preview Lab → · Contrast checker → · Palette generator →

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