#BB87E0#BB87E0

#BB87E0 is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.8% C 0.137 H 310.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#BB87E0
RGBrgb(187, 135, 224)
HSLhsl(275, 59%, 70%)
HSVhsv(275, 40%, 88%)
CMYKcmyk(16.5%, 39.7%, 0%, 12.2%)
CIE-LABlab(64.38, 36.19, -37.79)
CIE-LCHlch(64.38, 52.33, 313.76°)
OKLaboklab(70.76% 0.0882 -0.1046)
OKLCHoklch(70.76% 0.137 310.1)
XYZxyz(42.6096, 33.2752, 74.6846)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87E0 #ACE087
analogous
#8E87E0 #BB87E0 #E087D8
triadic
#BB87E0 #E0BB87 #87E0BB
tetradic
#BB87E0 #E08E87 #ACE087 #87D8E0
square
#BB87E0 #E08E87 #ACE087 #87D8E0
split-complementary
#BB87E0 #D8E087 #87E08E
monochromatic
#8231BC #9F56D3 #BB87E0 #D7B8ED #F1E7F9

Accessibility & contrast

On white

2.74
#BB87E0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#BB87E0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87E0
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87E0#FFFFFF#000000##000000
##BB87E01.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#759AE3
Deuteranopia (green-blind)
#819DDD
Tritanopia (blue-blind)
#B794A9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb87e0;
/* rgb */ color: rgb(187, 135, 224);
/* oklch */ color: oklch(70.8% 0.137 310.1);
Tailwind
colors: {
  custom: {
    50: '#d1abea',
    500: '#bb87e0',
    950: '#000000',
  },
}
SCSS
$custom: #bb87e0;
$custom-light: #d1abea;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87e0",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 224
  },
  "hsl": {
    "h": 275.056,
    "s": 58.94,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70755,
    "c": 0.13685,
    "h": 310.1
  },
  "luminance": 0.33275
}

Semantic roles & 50–950 ramp

primary
#BB87E0
secondary
#DFEED5
accent
#C71F65
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB87E0

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

Preview Lab → · Contrast checker → · Palette generator →

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