#986AEB#986AEB

#986AEB is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.2% C 0.188 H 297.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#986AEB
RGBrgb(152, 106, 235)
HSLhsl(261, 76%, 67%)
HSVhsv(261, 55%, 92%)
CMYKcmyk(35.3%, 54.9%, 0%, 7.8%)
CIE-LABlab(55.05, 45.49, -58.92)
CIE-LCHlch(55.05, 74.44, 307.67°)
OKLaboklab(63.16% 0.0857 -0.1669)
OKLCHoklch(63.16% 0.188 297.2)
XYZxyz(33.0946, 22.9811, 81.2734)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986AEB #BDEB6A
analogous
#6A7DEB #986AEB #D86AEB
triadic
#986AEB #EB986A #6AEB98
tetradic
#986AEB #EB6A7D #BDEB6A #6AEBD8
square
#986AEB #EB6A7D #BDEB6A #6AEBD8
split-complementary
#986AEB #EBD86A #7DEB6A
monochromatic
#551AC1 #7334E4 #986AEB #BDA0F2 #E3D6F9

Accessibility & contrast

On white

3.75
#986AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#986AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986AEB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986AEB#FFFFFF#000000##000000
##986AEB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EF
Deuteranopia (green-blind)
#3F82E8
Tritanopia (blue-blind)
#8584A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #986aeb;
/* rgb */ color: rgb(152, 106, 235);
/* oklch */ color: oklch(63.2% 0.188 297.2);
Tailwind
colors: {
  custom: {
    50: '#bb96f2',
    500: '#986aeb',
    950: '#000000',
  },
}
SCSS
$custom: #986aeb;
$custom-light: #bb96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#986aeb",
  "rgb": {
    "r": 152,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 261.395,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63158,
    "c": 0.18767,
    "h": 297.2
  },
  "luminance": 0.22982
}

Semantic roles & 50–950 ramp

primary
#986AEB
secondary
#DEEDC4
accent
#D90D90
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #986AEB

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

Preview Lab → · Contrast checker → · Palette generator →

#986AEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva