#BB86F8#BB86F8

#BB86F8 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.8% C 0.167 H 303.9°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#BB86F8
RGBrgb(187, 134, 248)
HSLhsl(268, 89%, 75%)
HSVhsv(268, 46%, 97%)
CMYKcmyk(24.6%, 46%, 0%, 2.7%)
CIE-LABlab(65.27, 42.13, -49.64)
CIE-LCHlch(65.27, 65.11, 310.32°)
OKLaboklab(71.79% 0.0935 -0.1389)
OKLCHoklch(71.79% 0.167 303.9)
XYZxyz(45.9583, 34.3924, 93.0060)
Luminance0.3439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB86F8 #C3F886
analogous
#868AF8 #BB86F8 #F486F8
triadic
#BB86F8 #F8BB86 #86F8BB
tetradic
#BB86F8 #F8868A #C3F886 #86F8F4
square
#BB86F8 #F8868A #C3F886 #86F8F4
split-complementary
#BB86F8 #F8F486 #8AF886
monochromatic
#7A12F1 #9A4CF5 #BB86F8 #DCC0FB #EFE2FD

Accessibility & contrast

On white

2.67
#BB86F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#BB86F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB86F8
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB86F8#FFFFFF#000000##000000
##BB86F81.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFC
Deuteranopia (green-blind)
#749EF5
Tritanopia (blue-blind)
#B19AB3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb86f8;
/* rgb */ color: rgb(187, 134, 248);
/* oklch */ color: oklch(71.8% 0.167 303.9);
Tailwind
colors: {
  custom: {
    50: '#d2aafb',
    500: '#bb86f8',
    950: '#000000',
  },
}
SCSS
$custom: #bb86f8;
$custom-light: #d2aafb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb86f8",
  "rgb": {
    "r": 187,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 267.895,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71786,
    "c": 0.16747,
    "h": 303.9
  },
  "luminance": 0.34392
}

Semantic roles & 50–950 ramp

primary
#BB86F8
secondary
#E7F5D6
accent
#E6007B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB86F8

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

Preview Lab → · Contrast checker → · Palette generator →

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