#BB86EC#BB86EC

#BB86EC is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.2% C 0.153 H 306.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#BB86EC
RGBrgb(187, 134, 236)
HSLhsl(271, 73%, 73%)
HSVhsv(271, 43%, 93%)
CMYKcmyk(20.8%, 43.2%, 0%, 7.5%)
CIE-LABlab(64.70, 39.40, -43.94)
CIE-LCHlch(64.70, 59.01, 311.88°)
OKLaboklab(71.17% 0.0918 -0.1224)
OKLCHoklch(71.17% 0.153 306.9)
XYZxyz(44.1559, 33.6715, 83.5137)
Luminance0.3367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB86EC #B7EC86
analogous
#8886EC #BB86EC #EC86EA
triadic
#BB86EC #ECBB86 #86ECBB
tetradic
#BB86EC #EC8886 #B7EC86 #86EAEC
square
#BB86EC #EC8886 #B7EC86 #86EAEC
split-complementary
#BB86EC #EAEC86 #86EC88
monochromatic
#7F22D6 #9D51E4 #BB86EC #D9BBF4 #F0E5FB

Accessibility & contrast

On white

2.72
#BB86EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#BB86EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB86EC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB86EC#FFFFFF#000000##000000
##BB86EC1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#7B9DE9
Tritanopia (blue-blind)
#B496AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bb86ec;
/* rgb */ color: rgb(187, 134, 236);
/* oklch */ color: oklch(71.2% 0.153 306.9);
Tailwind
colors: {
  custom: {
    50: '#d1aaf2',
    500: '#bb86ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb86ec;
$custom-light: #d1aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb86ec",
  "rgb": {
    "r": 187,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 271.176,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71171,
    "c": 0.15296,
    "h": 306.9
  },
  "luminance": 0.33671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB86EC

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

Preview Lab → · Contrast checker → · Palette generator →

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