#B986EA#B986EA

#B986EA is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.9% C 0.150 H 306.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#B986EA
RGBrgb(185, 134, 234)
HSLhsl(271, 70%, 72%)
HSVhsv(271, 43%, 92%)
CMYKcmyk(20.9%, 42.7%, 0%, 8.2%)
CIE-LABlab(64.41, 38.38, -43.31)
CIE-LCHlch(64.41, 57.87, 311.55°)
OKLaboklab(70.87% 0.0891 -0.1206)
OKLCHoklch(70.87% 0.15 306.5)
XYZxyz(43.3810, 33.3053, 81.9692)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B986EA #B7EA86
analogous
#8786EA #B986EA #EA86E9
triadic
#B986EA #EAB986 #86EAB9
tetradic
#B986EA #EA8786 #B7EA86 #86E9EA
square
#B986EA #EA8786 #B7EA86 #86E9EA
split-complementary
#B986EA #E9EA86 #86EA87
monochromatic
#7D24D1 #9B52E1 #B986EA #D7BAF3 #F0E5FA

Accessibility & contrast

On white

2.74
#B986EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#B986EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B986EA
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B986EA#FFFFFF#000000##000000
##B986EA1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9AEE
Deuteranopia (green-blind)
#7A9DE7
Tritanopia (blue-blind)
#B296AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b986ea;
/* rgb */ color: rgb(185, 134, 234);
/* oklch */ color: oklch(70.9% 0.150 306.5);
Tailwind
colors: {
  custom: {
    50: '#d0aaf1',
    500: '#b986ea',
    950: '#000000',
  },
}
SCSS
$custom: #b986ea;
$custom-light: #d0aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b986ea",
  "rgb": {
    "r": 185,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 270.6,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70874,
    "c": 0.14992,
    "h": 306.5
  },
  "luminance": 0.33305
}

Semantic roles & 50–950 ramp

primary
#B986EA
secondary
#E5F2D9
accent
#D21371
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B986EA

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

Preview Lab → · Contrast checker → · Palette generator →

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