#BB87EE#BB87EE

#BB87EE is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.4% C 0.154 H 306.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#BB87EE
RGBrgb(187, 135, 238)
HSLhsl(270, 75%, 73%)
HSVhsv(270, 43%, 93%)
CMYKcmyk(21.4%, 43.3%, 0%, 6.7%)
CIE-LABlab(65.02, 39.30, -44.55)
CIE-LCHlch(65.02, 59.40, 311.42°)
OKLaboklab(71.44% 0.0907 -0.1241)
OKLCHoklch(71.44% 0.154 306.2)
XYZxyz(44.5870, 34.0661, 85.0989)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87EE #BAEE87
analogous
#8787EE #BB87EE #EE87ED
triadic
#BB87EE #EEBB87 #87EEBB
tetradic
#BB87EE #EE8787 #BAEE87 #87EDEE
square
#BB87EE #EE8787 #BAEE87 #87EDEE
split-complementary
#BB87EE #EDEE87 #87EE87
monochromatic
#7E1FDC #9D51E6 #BB87EE #D9BDF6 #F0E4FB

Accessibility & contrast

On white

2.69
#BB87EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#BB87EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87EE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87EE#FFFFFF#000000##000000
##BB87EE1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF2
Deuteranopia (green-blind)
#7A9EEB
Tritanopia (blue-blind)
#B398AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb87ee;
/* rgb */ color: rgb(187, 135, 238);
/* oklch */ color: oklch(71.4% 0.154 306.2);
Tailwind
colors: {
  custom: {
    50: '#d1abf4',
    500: '#bb87ee',
    950: '#000000',
  },
}
SCSS
$custom: #bb87ee;
$custom-light: #d1abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87ee",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 270.291,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71437,
    "c": 0.15375,
    "h": 306.2
  },
  "luminance": 0.34066
}

Semantic roles & 50–950 ramp

primary
#BB87EE
secondary
#E5F3D8
accent
#D70E72
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB87EE

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

Preview Lab → · Contrast checker → · Palette generator →

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