#BB86EB#BB86EB

#BB86EB is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.1% C 0.152 H 307.1°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#BB86EB
RGBrgb(187, 134, 235)
HSLhsl(271, 72%, 72%)
HSVhsv(271, 43%, 92%)
CMYKcmyk(20.4%, 43%, 0%, 7.8%)
CIE-LABlab(64.65, 39.17, -43.46)
CIE-LCHlch(64.65, 58.51, 312.03°)
OKLaboklab(71.12% 0.0916 -0.121)
OKLCHoklch(71.12% 0.152 307.1)
XYZxyz(44.0111, 33.6136, 82.7507)
Luminance0.3361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB86EB #B6EB86
analogous
#8986EB #BB86EB #EB86E9
triadic
#BB86EB #EBBB86 #86EBBB
tetradic
#BB86EB #EB8986 #B6EB86 #86E9EB
square
#BB86EB #EB8986 #B6EB86 #86E9EB
split-complementary
#BB86EB #E9EB86 #86EB89
monochromatic
#8023D4 #9D51E2 #BB86EB #D9BBF4 #F0E5FB

Accessibility & contrast

On white

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

On black

7.72
#BB86EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB86EB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB86EB#FFFFFF#000000##000000
##BB86EB1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#B496AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bb86eb;
/* rgb */ color: rgb(187, 134, 235);
/* oklch */ color: oklch(71.1% 0.152 307.1);
Tailwind
colors: {
  custom: {
    50: '#d1aaf2',
    500: '#bb86eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb86eb;
$custom-light: #d1aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb86eb",
  "rgb": {
    "r": 187,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 271.485,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71121,
    "c": 0.15175,
    "h": 307.1
  },
  "luminance": 0.33613
}

Semantic roles & 50–950 ramp

primary
#BB86EB
secondary
#E5F2D9
accent
#D4126E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB86EB

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

Preview Lab → · Contrast checker → · Palette generator →

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