#BB86FA#BB86FA

#BB86FA is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.9% C 0.170 H 303.5°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#BB86FA
RGBrgb(187, 134, 250)
HSLhsl(267, 92%, 75%)
HSVhsv(267, 46%, 98%)
CMYKcmyk(25.2%, 46.4%, 0%, 2%)
CIE-LABlab(65.37, 42.59, -50.58)
CIE-LCHlch(65.37, 66.12, 310.10°)
OKLaboklab(71.89% 0.0938 -0.1417)
OKLCHoklch(71.89% 0.17 303.5)
XYZxyz(46.2702, 34.5172, 94.6488)
Luminance0.3452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB86FA #C5FA86
analogous
#868BFA #BB86FA #F586FA
triadic
#BB86FA #FABB86 #86FABB
tetradic
#BB86FA #FA868B #C5FA86 #86FAF5
square
#BB86FA #FA868B #C5FA86 #86FAF5
split-complementary
#BB86FA #FAF586 #8BFA86
monochromatic
#7910F5 #9A4BF8 #BB86FA #DCC1FC #EEE2FE

Accessibility & contrast

On white

2.66
#BB86FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#BB86FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB86FA
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB86FA#FFFFFF#000000##000000
##BB86FA1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#729FF7
Tritanopia (blue-blind)
#B09AB4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb86fa;
/* rgb */ color: rgb(187, 134, 250);
/* oklch */ color: oklch(71.9% 0.170 303.5);
Tailwind
colors: {
  custom: {
    50: '#d2aafc',
    500: '#bb86fa',
    950: '#000000',
  },
}
SCSS
$custom: #bb86fa;
$custom-light: #d2aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb86fa",
  "rgb": {
    "r": 187,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 267.414,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71892,
    "c": 0.16989,
    "h": 303.5
  },
  "luminance": 0.34517
}

Semantic roles & 50–950 ramp

primary
#BB86FA
secondary
#E7F6D5
accent
#E6007D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB86FA

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

Preview Lab → · Contrast checker → · Palette generator →

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