#B986FA#B986FA

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

Color values

HEX#B986FA
RGBrgb(185, 134, 250)
HSLhsl(266, 92%, 75%)
HSVhsv(266, 46%, 98%)
CMYKcmyk(26%, 46.4%, 0%, 2%)
CIE-LABlab(65.17, 42.06, -50.90)
CIE-LCHlch(65.17, 66.03, 309.57°)
OKLaboklab(71.7% 0.0914 -0.1427)
OKLCHoklch(71.7% 0.169 302.6)
XYZxyz(45.7842, 34.2666, 94.6260)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B986FA #C7FA86
analogous
#868DFA #B986FA #F386FA
triadic
#B986FA #FAB986 #86FAB9
tetradic
#B986FA #FA868D #C7FA86 #86FAF3
square
#B986FA #FA868D #C7FA86 #86FAF3
split-complementary
#B986FA #FAF386 #8DFA86
monochromatic
#7510F5 #974BF8 #B986FA #DBC1FC #EEE2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B986FA#FFFFFF#000000##000000
##B986FA1.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)
#659DFE
Deuteranopia (green-blind)
#719EF7
Tritanopia (blue-blind)
#AD9AB4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b986fa;
/* rgb */ color: rgb(185, 134, 250);
/* oklch */ color: oklch(71.7% 0.169 302.6);
Tailwind
colors: {
  custom: {
    50: '#d0aafc',
    500: '#b986fa',
    950: '#000000',
  },
}
SCSS
$custom: #b986fa;
$custom-light: #d0aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#b986fa",
  "rgb": {
    "r": 185,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 266.379,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71699,
    "c": 0.16943,
    "h": 302.6
  },
  "luminance": 0.34267
}

Semantic roles & 50–950 ramp

primary
#B986FA
secondary
#E7F6D5
accent
#E60081
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #B986FA

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

Preview Lab → · Contrast checker → · Palette generator →

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