#BB86FE#BB86FE

#BB86FE is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.1% C 0.175 H 302.6°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#BB86FE
RGBrgb(187, 134, 254)
HSLhsl(267, 98%, 76%)
HSVhsv(267, 47%, 100%)
CMYKcmyk(26.4%, 47.2%, 0%, 0.4%)
CIE-LABlab(65.57, 43.52, -52.46)
CIE-LCHlch(65.57, 68.16, 309.68°)
OKLaboklab(72.1% 0.0943 -0.1471)
OKLCHoklch(72.1% 0.175 302.6)
XYZxyz(46.9040, 34.7708, 97.9871)
Luminance0.3477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB86FE #C9FE86
analogous
#868DFE #BB86FE #F786FE
triadic
#BB86FE #FEBB86 #86FEBB
tetradic
#BB86FE #FE868D #C9FE86 #86FEF7
square
#BB86FE #FE868D #C9FE86 #86FEF7
split-complementary
#BB86FE #FEF786 #8DFE86
monochromatic
#770DFD #9949FD #BB86FE #DDC3FF #EEE1FF

Accessibility & contrast

On white

2.64
#BB86FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#BB86FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB86FE
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB86FE#FFFFFF#000000##000000
##BB86FE1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#AF9BB6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb86fe;
/* rgb */ color: rgb(187, 134, 254);
/* oklch */ color: oklch(72.1% 0.175 302.6);
Tailwind
colors: {
  custom: {
    50: '#d2aaff',
    500: '#bb86fe',
    950: '#000000',
  },
}
SCSS
$custom: #bb86fe;
$custom-light: #d2aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb86fe",
  "rgb": {
    "r": 187,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 266.5,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72105,
    "c": 0.17473,
    "h": 302.6
  },
  "luminance": 0.34771
}

Semantic roles & 50–950 ramp

primary
#BB86FE
secondary
#E8F7D4
accent
#E60080
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB86FE

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

Preview Lab → · Contrast checker → · Palette generator →

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