#B986EF#B986EF

#B986EF is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.1% C 0.156 H 305.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#B986EF
RGBrgb(185, 134, 239)
HSLhsl(269, 77%, 73%)
HSVhsv(269, 44%, 94%)
CMYKcmyk(22.6%, 43.9%, 0%, 6.3%)
CIE-LABlab(64.64, 39.52, -45.70)
CIE-LCHlch(64.64, 60.42, 310.85°)
OKLaboklab(71.13% 0.0899 -0.1275)
OKLCHoklch(71.13% 0.156 305.2)
XYZxyz(44.1094, 33.5967, 85.8057)
Luminance0.3360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B986EF #BCEF86
analogous
#8687EF #B986EF #ED86EF
triadic
#B986EF #EFB986 #86EFB9
tetradic
#B986EF #EF8687 #BCEF86 #86EFED
square
#B986EF #EF8687 #BCEF86 #86EFED
split-complementary
#B986EF #EFED86 #87EF86
monochromatic
#7B1DDD #9A50E8 #B986EF #D8BCF6 #EFE4FB

Accessibility & contrast

On white

2.72
#B986EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#B986EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B986EF
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B986EF#FFFFFF#000000##000000
##B986EF1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#B097AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b986ef;
/* rgb */ color: rgb(185, 134, 239);
/* oklch */ color: oklch(71.1% 0.156 305.2);
Tailwind
colors: {
  custom: {
    50: '#d0aaf4',
    500: '#b986ef',
    950: '#000000',
  },
}
SCSS
$custom: #b986ef;
$custom-light: #d0aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b986ef",
  "rgb": {
    "r": 185,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 269.143,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71126,
    "c": 0.15601,
    "h": 305.2
  },
  "luminance": 0.33596
}

Semantic roles & 50–950 ramp

primary
#B986EF
secondary
#E6F3D8
accent
#D90D76
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B986EF

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

Preview Lab → · Contrast checker → · Palette generator →

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