#BB87EF#BB87EF

#BB87EF is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.5% C 0.155 H 305.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#BB87EF
RGBrgb(187, 135, 239)
HSLhsl(270, 76%, 73%)
HSVhsv(270, 44%, 94%)
CMYKcmyk(21.8%, 43.5%, 0%, 6.3%)
CIE-LABlab(65.06, 39.53, -45.02)
CIE-LCHlch(65.06, 59.91, 311.28°)
OKLaboklab(71.49% 0.0909 -0.1255)
OKLCHoklch(71.49% 0.155 305.9)
XYZxyz(44.7343, 34.1250, 85.8747)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87EF #BBEF87
analogous
#8787EF #BB87EF #EF87EF
triadic
#BB87EF #EFBB87 #87EFBB
tetradic
#BB87EF #EF8787 #BBEF87 #87EFEF
square
#BB87EF #EF8787 #BBEF87 #87EFEF
split-complementary
#BB87EF #EFEF87 #87EF87
monochromatic
#7E1EDE #9C51E8 #BB87EF #DABDF6 #F0E4FB

Accessibility & contrast

On white

2.68
#BB87EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#BB87EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87EF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87EF#FFFFFF#000000##000000
##BB87EF1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#B398B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb87ef;
/* rgb */ color: rgb(187, 135, 239);
/* oklch */ color: oklch(71.5% 0.155 305.9);
Tailwind
colors: {
  custom: {
    50: '#d1abf4',
    500: '#bb87ef',
    950: '#000000',
  },
}
SCSS
$custom: #bb87ef;
$custom-light: #d1abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87ef",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 270,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71488,
    "c": 0.15496,
    "h": 305.9
  },
  "luminance": 0.34125
}

Semantic roles & 50–950 ramp

primary
#BB87EF
secondary
#E6F3D8
accent
#D90D73
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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