#BB86F7#BB86F7

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

Color values

HEX#BB86F7
RGBrgb(187, 134, 247)
HSLhsl(268, 88%, 75%)
HSVhsv(268, 46%, 97%)
CMYKcmyk(24.3%, 45.7%, 0%, 3.1%)
CIE-LABlab(65.22, 41.90, -49.17)
CIE-LCHlch(65.22, 64.60, 310.44°)
OKLaboklab(71.73% 0.0934 -0.1375)
OKLCHoklch(71.73% 0.166 304.2)
XYZxyz(45.8035, 34.3305, 92.1911)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB86F7 #C2F786
analogous
#8689F7 #BB86F7 #F486F7
triadic
#BB86F7 #F7BB86 #86F7BB
tetradic
#BB86F7 #F78689 #C2F786 #86F7F4
square
#BB86F7 #F78689 #C2F786 #86F7F4
split-complementary
#BB86F7 #F7F486 #89F786
monochromatic
#7A13EF #9B4DF3 #BB86F7 #DBBFFB #EFE2FD

Accessibility & contrast

On white

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

On black

7.87
#BB86F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB86F7
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB86F7#FFFFFF#000000##000000
##BB86F71.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#B199B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb86f7;
/* rgb */ color: rgb(187, 134, 247);
/* oklch */ color: oklch(71.7% 0.166 304.2);
Tailwind
colors: {
  custom: {
    50: '#d2aafa',
    500: '#bb86f7',
    950: '#000000',
  },
}
SCSS
$custom: #bb86f7;
$custom-light: #d2aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb86f7",
  "rgb": {
    "r": 187,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 268.142,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71734,
    "c": 0.16626,
    "h": 304.2
  },
  "luminance": 0.3433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB86F7

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

Preview Lab → · Contrast checker → · Palette generator →

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