#BB86F6#BB86F6

#BB86F6 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.7% C 0.165 H 304.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#BB86F6
RGBrgb(187, 134, 246)
HSLhsl(268, 86%, 75%)
HSVhsv(268, 46%, 96%)
CMYKcmyk(24%, 45.5%, 0%, 3.5%)
CIE-LABlab(65.18, 41.67, -48.69)
CIE-LCHlch(65.18, 64.09, 310.56°)
OKLaboklab(71.68% 0.0933 -0.1362)
OKLCHoklch(71.68% 0.165 304.4)
XYZxyz(45.6496, 34.2690, 91.3806)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB86F6 #C1F686
analogous
#8689F6 #BB86F6 #F386F6
triadic
#BB86F6 #F6BB86 #86F6BB
tetradic
#BB86F6 #F68689 #C1F686 #86F6F3
square
#BB86F6 #F68689 #C1F686 #86F6F3
split-complementary
#BB86F6 #F6F386 #89F686
monochromatic
#7B14EE #9B4DF2 #BB86F6 #DBBFFA #EFE3FD

Accessibility & contrast

On white

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

On black

7.85
#BB86F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB86F6
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB86F6#FFFFFF#000000##000000
##BB86F61.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#759EF3
Tritanopia (blue-blind)
#B199B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb86f6;
/* rgb */ color: rgb(187, 134, 246);
/* oklch */ color: oklch(71.7% 0.165 304.4);
Tailwind
colors: {
  custom: {
    50: '#d2aaf9',
    500: '#bb86f6',
    950: '#000000',
  },
}
SCSS
$custom: #bb86f6;
$custom-light: #d2aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb86f6",
  "rgb": {
    "r": 187,
    "g": 134,
    "b": 246
  },
  "hsl": {
    "h": 268.393,
    "s": 86.154,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71682,
    "c": 0.16505,
    "h": 304.4
  },
  "luminance": 0.34269
}

Semantic roles & 50–950 ramp

primary
#BB86F6
secondary
#E6F5D6
accent
#E30379
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB86F6

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

Preview Lab → · Contrast checker → · Palette generator →

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