#986AAA#986AAA

#986AAA is a mid, moderate purple. Relative luminance 0.199; OKLCH L 59.6% C 0.108 H 316.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#986AAA
RGBrgb(152, 106, 170)
HSLhsl(283, 27%, 54%)
HSVhsv(283, 38%, 67%)
CMYKcmyk(10.6%, 37.6%, 0%, 33.3%)
CIE-LABlab(51.71, 30.03, -27.13)
CIE-LCHlch(51.71, 40.47, 317.91°)
OKLaboklab(59.58% 0.0775 -0.0746)
OKLCHoklch(59.58% 0.108 316.1)
XYZxyz(25.3575, 19.8863, 40.5251)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986AAA #7CAA6A
analogous
#786AAA #986AAA #AA6A9C
triadic
#986AAA #AA986A #6AAA98
tetradic
#986AAA #AA786A #7CAA6A #6A9CAA
square
#986AAA #AA786A #7CAA6A #6A9CAA
split-complementary
#986AAA #9CAA6A #6AAA78
monochromatic
#563862 #784E89 #986AAA #B391C0 #CEB8D6

Accessibility & contrast

On white

4.22
#986AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#986AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986AAA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986AAA#FFFFFF#000000##000000
##986AAA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6078AC
Deuteranopia (green-blind)
#6B7DA8
Tritanopia (blue-blind)
#977282
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #986aaa;
/* rgb */ color: rgb(152, 106, 170);
/* oklch */ color: oklch(59.6% 0.108 316.1);
Tailwind
colors: {
  custom: {
    50: '#b795c3',
    500: '#986aaa',
    950: '#000000',
  },
}
SCSS
$custom: #986aaa;
$custom-light: #b795c3;
$custom-dark: #000000;
JSON
{
  "hex": "#986aaa",
  "rgb": {
    "r": 152,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 283.125,
    "s": 27.35,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59575,
    "c": 0.10757,
    "h": 316.1
  },
  "luminance": 0.19886
}

Semantic roles & 50–950 ramp

primary
#986AAA
secondary
#B2C6AA
accent
#C4647F
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D12
muted
#807E81

Preview Lab

Preview with #986AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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