#BB87E8#BB87E8

#BB87E8 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.1% C 0.146 H 307.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#BB87E8
RGBrgb(187, 135, 232)
HSLhsl(272, 68%, 72%)
HSVhsv(272, 42%, 91%)
CMYKcmyk(19.4%, 41.8%, 0%, 9%)
CIE-LABlab(64.74, 37.95, -41.67)
CIE-LCHlch(64.74, 56.36, 312.33°)
OKLaboklab(71.14% 0.0897 -0.1158)
OKLCHoklch(71.14% 0.146 307.8)
XYZxyz(43.7202, 33.7194, 80.5336)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87E8 #B4E887
analogous
#8B87E8 #BB87E8 #E887E5
triadic
#BB87E8 #E8BB87 #87E8BB
tetradic
#BB87E8 #E88B87 #B4E887 #87E5E8
square
#BB87E8 #E88B87 #B4E887 #87E5E8
split-complementary
#BB87E8 #E5E887 #87E88B
monochromatic
#8027CD #9E54DE #BB87E8 #D8BAF2 #F0E5FA

Accessibility & contrast

On white

2.71
#BB87E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#BB87E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87E8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87E8#FFFFFF#000000##000000
##BB87E81.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719BEC
Deuteranopia (green-blind)
#7E9EE5
Tritanopia (blue-blind)
#B596AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bb87e8;
/* rgb */ color: rgb(187, 135, 232);
/* oklch */ color: oklch(71.1% 0.146 307.8);
Tailwind
colors: {
  custom: {
    50: '#d1abef',
    500: '#bb87e8',
    950: '#000000',
  },
}
SCSS
$custom: #bb87e8;
$custom-light: #d1abef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87e8",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 272.165,
    "s": 67.832,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7114,
    "c": 0.14649,
    "h": 307.8
  },
  "luminance": 0.33719
}

Semantic roles & 50–950 ramp

primary
#BB87E8
secondary
#E5F2D9
accent
#D0166C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BB87E8

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

Preview Lab → · Contrast checker → · Palette generator →

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