#BB86FB#BB86FB

#BB86FB is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.9% C 0.171 H 303.3°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#BB86FB
RGBrgb(187, 134, 251)
HSLhsl(267, 94%, 75%)
HSVhsv(267, 47%, 98%)
CMYKcmyk(25.5%, 46.6%, 0%, 1.6%)
CIE-LABlab(65.42, 42.83, -51.05)
CIE-LCHlch(65.42, 66.63, 309.99°)
OKLaboklab(71.95% 0.0939 -0.143)
OKLCHoklch(71.95% 0.171 303.3)
XYZxyz(46.4274, 34.5801, 95.4768)
Luminance0.3458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB86FB #C6FB86
analogous
#868CFB #BB86FB #F586FB
triadic
#BB86FB #FBBB86 #86FBBB
tetradic
#BB86FB #FB868C #C6FB86 #86FBF5
square
#BB86FB #FB868C #C6FB86 #86FBF5
split-complementary
#BB86FB #FBF586 #8CFB86
monochromatic
#7810F7 #9A4BF9 #BB86FB #DCC1FD #EEE1FE

Accessibility & contrast

On white

2.65
#BB86FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#BB86FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB86FB
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB86FB#FFFFFF#000000##000000
##BB86FB1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#B09AB5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb86fb;
/* rgb */ color: rgb(187, 134, 251);
/* oklch */ color: oklch(71.9% 0.171 303.3);
Tailwind
colors: {
  custom: {
    50: '#d2aafd',
    500: '#bb86fb',
    950: '#000000',
  },
}
SCSS
$custom: #bb86fb;
$custom-light: #d2aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb86fb",
  "rgb": {
    "r": 187,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 267.179,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71945,
    "c": 0.1711,
    "h": 303.3
  },
  "luminance": 0.3458
}

Semantic roles & 50–950 ramp

primary
#BB86FB
secondary
#E7F6D5
accent
#E6007E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB86FB

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

Preview Lab → · Contrast checker → · Palette generator →

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