#986FC7#986FC7

#986FC7 is a mid, vivid violet. Relative luminance 0.222; OKLCH L 61.9% C 0.135 H 304.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#986FC7
RGBrgb(152, 111, 199)
HSLhsl(268, 44%, 61%)
HSVhsv(268, 44%, 78%)
CMYKcmyk(23.6%, 44.2%, 0%, 22%)
CIE-LABlab(54.20, 33.77, -39.93)
CIE-LCHlch(54.20, 52.30, 310.22°)
OKLaboklab(61.89% 0.0759 -0.1115)
OKLCHoklch(61.89% 0.135 304.2)
XYZxyz(28.9400, 22.1679, 56.7760)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FC7 #9EC76F
analogous
#6F72C7 #986FC7 #C46FC7
triadic
#986FC7 #C7986F #6FC798
tetradic
#986FC7 #C76F72 #9EC76F #6FC7C4
square
#986FC7 #C76F72 #9EC76F #6FC7C4
split-complementary
#986FC7 #C7C46F #72C76F
monochromatic
#5B3587 #7946B3 #986FC7 #B89BD8 #D7C7E9

Accessibility & contrast

On white

3.86
#986FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#986FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FC7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FC7#FFFFFF#000000##000000
##986FC71.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5880CA
Deuteranopia (green-blind)
#6282C5
Tritanopia (blue-blind)
#907E91
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #986fc7;
/* rgb */ color: rgb(152, 111, 199);
/* oklch */ color: oklch(61.9% 0.135 304.2);
Tailwind
colors: {
  custom: {
    50: '#b899d8',
    500: '#986fc7',
    950: '#000000',
  },
}
SCSS
$custom: #986fc7;
$custom-light: #b899d8;
$custom-dark: #000000;
JSON
{
  "hex": "#986fc7",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 199
  },
  "hsl": {
    "h": 267.955,
    "s": 44,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61893,
    "c": 0.13486,
    "h": 304.2
  },
  "luminance": 0.22168
}

Semantic roles & 50–950 ramp

primary
#986FC7
secondary
#CADAB8
accent
#B72E77
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #986FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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