#BB86FF#BB86FF

#BB86FF is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.2% C 0.176 H 302.4°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#BB86FF
RGBrgb(187, 134, 255)
HSLhsl(266, 100%, 76%)
HSVhsv(266, 47%, 100%)
CMYKcmyk(26.7%, 47.5%, 0%, 0%)
CIE-LABlab(65.62, 43.76, -52.92)
CIE-LCHlch(65.62, 68.67, 309.59°)
OKLaboklab(72.16% 0.0944 -0.1485)
OKLCHoklch(72.16% 0.176 302.4)
XYZxyz(47.0646, 34.8350, 98.8327)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB86FF #CAFF86
analogous
#868EFF #BB86FF #F886FF
triadic
#BB86FF #FFBB86 #86FFBB
tetradic
#BB86FF #FF868E #CAFF86 #86FFF8
square
#BB86FF #FF868E #CAFF86 #86FFF8
split-complementary
#BB86FF #FFF886 #8EFF86
monochromatic
#760CFF #9949FF #BB86FF #DDC3FF #EEE0FF

Accessibility & contrast

On white

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

On black

7.97
#BB86FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB86FF
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB86FF#FFFFFF#000000##000000
##BB86FF1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#6F9FFC
Tritanopia (blue-blind)
#AF9CB7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb86ff;
/* rgb */ color: rgb(187, 134, 255);
/* oklch */ color: oklch(72.2% 0.176 302.4);
Tailwind
colors: {
  custom: {
    50: '#d2aaff',
    500: '#bb86ff',
    950: '#000000',
  },
}
SCSS
$custom: #bb86ff;
$custom-light: #d2aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb86ff",
  "rgb": {
    "r": 187,
    "g": 134,
    "b": 255
  },
  "hsl": {
    "h": 266.281,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72159,
    "c": 0.17594,
    "h": 302.4
  },
  "luminance": 0.34835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB86FF

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

Preview Lab → · Contrast checker → · Palette generator →

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