#BB86F2#BB86F2

#BB86F2 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.5% C 0.160 H 305.3°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#BB86F2
RGBrgb(187, 134, 242)
HSLhsl(269, 81%, 74%)
HSVhsv(269, 45%, 95%)
CMYKcmyk(22.7%, 44.6%, 0%, 5.1%)
CIE-LABlab(64.98, 40.75, -46.80)
CIE-LCHlch(64.98, 62.06, 311.05°)
OKLaboklab(71.47% 0.0927 -0.1307)
OKLCHoklch(71.47% 0.16 305.3)
XYZxyz(45.0423, 34.0261, 88.1820)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB86F2 #BDF286
analogous
#8687F2 #BB86F2 #F186F2
triadic
#BB86F2 #F2BB86 #86F2BB
tetradic
#BB86F2 #F28687 #BDF286 #86F2F1
square
#BB86F2 #F28687 #BDF286 #86F2F1
split-complementary
#BB86F2 #F2F186 #87F286
monochromatic
#7D19E5 #9C4FEC #BB86F2 #DABDF8 #EFE3FC

Accessibility & contrast

On white

2.69
#BB86F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#BB86F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB86F2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB86F2#FFFFFF#000000##000000
##BB86F21.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#B298B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb86f2;
/* rgb */ color: rgb(187, 134, 242);
/* oklch */ color: oklch(71.5% 0.160 305.3);
Tailwind
colors: {
  custom: {
    50: '#d1aaf7',
    500: '#bb86f2',
    950: '#000000',
  },
}
SCSS
$custom: #bb86f2;
$custom-light: #d1aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb86f2",
  "rgb": {
    "r": 187,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 269.444,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71475,
    "c": 0.16021,
    "h": 305.3
  },
  "luminance": 0.34026
}

Semantic roles & 50–950 ramp

primary
#BB86F2
secondary
#E6F4D7
accent
#DD0975
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB86F2

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

Preview Lab → · Contrast checker → · Palette generator →

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