#BB87E1#BB87E1

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

Color values

HEX#BB87E1
RGBrgb(187, 135, 225)
HSLhsl(275, 60%, 71%)
HSVhsv(275, 40%, 88%)
CMYKcmyk(16.9%, 40%, 0%, 11.8%)
CIE-LABlab(64.43, 36.41, -38.28)
CIE-LCHlch(64.43, 52.83, 313.57°)
OKLaboklab(70.8% 0.0884 -0.106)
OKLCHoklch(70.8% 0.138 309.8)
XYZxyz(42.7456, 33.3296, 75.4010)
Luminance0.3333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87E1 #ADE187
analogous
#8E87E1 #BB87E1 #E187DA
triadic
#BB87E1 #E1BB87 #87E1BB
tetradic
#BB87E1 #E18E87 #ADE187 #87DAE1
square
#BB87E1 #E18E87 #ADE187 #87DAE1
split-complementary
#BB87E1 #DAE187 #87E18E
monochromatic
#8230BE #9F56D5 #BB87E1 #D7B8ED #F1E7F9

Accessibility & contrast

On white

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

On black

7.67
#BB87E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87E1
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87E1#FFFFFF#000000##000000
##BB87E11.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb87e1;
/* rgb */ color: rgb(187, 135, 225);
/* oklch */ color: oklch(70.8% 0.138 309.8);
Tailwind
colors: {
  custom: {
    50: '#d1abea',
    500: '#bb87e1',
    950: '#000000',
  },
}
SCSS
$custom: #bb87e1;
$custom-light: #d1abea;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87e1",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 225
  },
  "hsl": {
    "h": 274.667,
    "s": 60,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70802,
    "c": 0.13805,
    "h": 309.8
  },
  "luminance": 0.33329
}

Semantic roles & 50–950 ramp

primary
#BB87E1
secondary
#E0EED6
accent
#C81E66
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB87E1

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

Preview Lab → · Contrast checker → · Palette generator →

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