#986FAC#986FAC

#986FAC is a mid, moderate purple. Relative luminance 0.210; OKLCH L 60.6% C 0.101 H 314.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#986FAC
RGBrgb(152, 111, 172)
HSLhsl(280, 27%, 55%)
HSVhsv(280, 35%, 67%)
CMYKcmyk(11.6%, 35.5%, 0%, 32.5%)
CIE-LABlab(52.98, 27.60, -26.33)
CIE-LCHlch(52.98, 38.14, 316.35°)
OKLaboklab(60.56% 0.0704 -0.0723)
OKLCHoklch(60.56% 0.101 314.2)
XYZxyz(26.0785, 21.0233, 41.7058)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FAC #83AC6F
analogous
#796FAC #986FAC #AC6FA1
triadic
#986FAC #AC986F #6FAC98
tetradic
#986FAC #AC796F #83AC6F #6FA1AC
square
#986FAC #AC796F #83AC6F #6FA1AC
split-complementary
#986FAC #A1AC6F #6FAC79
monochromatic
#583B66 #79518D #986FAC #B496C2 #D0BDD9

Accessibility & contrast

On white

4.03
#986FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#986FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FAC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FAC#FFFFFF#000000##000000
##986FAC1.004.035.205.20
#FFFFFF4.031.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#657CAE
Deuteranopia (green-blind)
#6F80AA
Tritanopia (blue-blind)
#977786
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #986fac;
/* rgb */ color: rgb(152, 111, 172);
/* oklch */ color: oklch(60.6% 0.101 314.2);
Tailwind
colors: {
  custom: {
    50: '#b799c5',
    500: '#986fac',
    950: '#000000',
  },
}
SCSS
$custom: #986fac;
$custom-light: #b799c5;
$custom-dark: #000000;
JSON
{
  "hex": "#986fac",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 280.328,
    "s": 26.872,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60562,
    "c": 0.1009,
    "h": 314.2
  },
  "luminance": 0.21023
}

Semantic roles & 50–950 ramp

primary
#986FAC
secondary
#B7C8AF
accent
#C36584
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #986FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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