#BB86EF#BB86EF

#BB86EF is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.3% C 0.157 H 306.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#BB86EF
RGBrgb(187, 134, 239)
HSLhsl(270, 77%, 73%)
HSVhsv(270, 44%, 94%)
CMYKcmyk(21.8%, 43.9%, 0%, 6.3%)
CIE-LABlab(64.84, 40.07, -45.37)
CIE-LCHlch(64.84, 60.53, 311.45°)
OKLaboklab(71.32% 0.0922 -0.1265)
OKLCHoklch(71.32% 0.157 306.1)
XYZxyz(44.5954, 33.8473, 85.8285)
Luminance0.3385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB86EF #BAEF86
analogous
#8686EF #BB86EF #EF86EE
triadic
#BB86EF #EFBB86 #86EFBB
tetradic
#BB86EF #EF8686 #BAEF86 #86EEEF
square
#BB86EF #EF8686 #BAEF86 #86EEEF
split-complementary
#BB86EF #EEEF86 #86EF86
monochromatic
#7E1DDD #9D50E8 #BB86EF #D9BCF6 #F0E4FB

Accessibility & contrast

On white

2.70
#BB86EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#BB86EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB86EF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB86EF#FFFFFF#000000##000000
##BB86EF1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF3
Deuteranopia (green-blind)
#799EEC
Tritanopia (blue-blind)
#B397AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bb86ef;
/* rgb */ color: rgb(187, 134, 239);
/* oklch */ color: oklch(71.3% 0.157 306.1);
Tailwind
colors: {
  custom: {
    50: '#d1aaf4',
    500: '#bb86ef',
    950: '#000000',
  },
}
SCSS
$custom: #bb86ef;
$custom-light: #d1aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb86ef",
  "rgb": {
    "r": 187,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 270.286,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71322,
    "c": 0.15657,
    "h": 306.1
  },
  "luminance": 0.33847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB86EF

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

Preview Lab → · Contrast checker → · Palette generator →

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