#BB86FC#BB86FC

#BB86FC is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.0% C 0.172 H 303.1°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#BB86FC
RGBrgb(187, 134, 252)
HSLhsl(267, 95%, 76%)
HSVhsv(267, 47%, 99%)
CMYKcmyk(25.8%, 46.8%, 0%, 1.2%)
CIE-LABlab(65.47, 43.06, -51.52)
CIE-LCHlch(65.47, 67.14, 309.89°)
OKLaboklab(72% 0.094 -0.1444)
OKLCHoklch(72% 0.172 303.1)
XYZxyz(46.5855, 34.6433, 96.3092)
Luminance0.3464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB86FC #C7FC86
analogous
#868CFC #BB86FC #F686FC
triadic
#BB86FC #FCBB86 #86FCBB
tetradic
#BB86FC #FC868C #C7FC86 #86FCF6
square
#BB86FC #FC868C #C7FC86 #86FCF6
split-complementary
#BB86FC #FCF686 #8CFC86
monochromatic
#780FF9 #994AFB #BB86FC #DDC2FD #EEE1FE

Accessibility & contrast

On white

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

On black

7.93
#BB86FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB86FC
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB86FC#FFFFFF#000000##000000
##BB86FC1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#719FF9
Tritanopia (blue-blind)
#B09BB5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb86fc;
/* rgb */ color: rgb(187, 134, 252);
/* oklch */ color: oklch(72.0% 0.172 303.1);
Tailwind
colors: {
  custom: {
    50: '#d2aafe',
    500: '#bb86fc',
    950: '#000000',
  },
}
SCSS
$custom: #bb86fc;
$custom-light: #d2aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb86fc",
  "rgb": {
    "r": 187,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 266.949,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71998,
    "c": 0.17231,
    "h": 303.1
  },
  "luminance": 0.34643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB86FC

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

Preview Lab → · Contrast checker → · Palette generator →

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