#986ACC#986ACC

#986ACC is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.3% C 0.149 H 304.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#986ACC
RGBrgb(152, 106, 204)
HSLhsl(268, 49%, 61%)
HSVhsv(268, 48%, 80%)
CMYKcmyk(25.5%, 48%, 0%, 20%)
CIE-LABlab(53.32, 37.80, -44.18)
CIE-LCHlch(53.32, 58.14, 310.55°)
OKLaboklab(61.32% 0.0835 -0.1238)
OKLCHoklch(61.32% 0.149 304)
XYZxyz(28.9997, 21.3432, 59.7069)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986ACC #9ECC6A
analogous
#6A6DCC #986ACC #C96ACC
triadic
#986ACC #CC986A #6ACC98
tetradic
#986ACC #CC6A6D #9ECC6A #6ACCC9
square
#986ACC #CC6A6D #9ECC6A #6ACCC9
split-complementary
#986ACC #CCC96A #6DCC6A
monochromatic
#5B308C #793FB9 #986ACC #B898DC #D7C5EB

Accessibility & contrast

On white

3.99
#986ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#986ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986ACC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986ACC#FFFFFF#000000##000000
##986ACC1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECF
Deuteranopia (green-blind)
#5A7FCA
Tritanopia (blue-blind)
#8F7B91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #986acc;
/* rgb */ color: rgb(152, 106, 204);
/* oklch */ color: oklch(61.3% 0.149 304.0);
Tailwind
colors: {
  custom: {
    50: '#b896dc',
    500: '#986acc',
    950: '#000000',
  },
}
SCSS
$custom: #986acc;
$custom-light: #b896dc;
$custom-dark: #000000;
JSON
{
  "hex": "#986acc",
  "rgb": {
    "r": 152,
    "g": 106,
    "b": 204
  },
  "hsl": {
    "h": 268.163,
    "s": 49,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61315,
    "c": 0.14936,
    "h": 304
  },
  "luminance": 0.21343
}

Semantic roles & 50–950 ramp

primary
#986ACC
secondary
#CADBB6
accent
#BC2977
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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