#986EC7#986EC7

#986EC7 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.7% C 0.137 H 304.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#986EC7
RGBrgb(152, 110, 199)
HSLhsl(268, 44%, 61%)
HSVhsv(268, 45%, 78%)
CMYKcmyk(23.6%, 44.7%, 0%, 22%)
CIE-LABlab(53.97, 34.34, -40.30)
CIE-LCHlch(53.97, 52.94, 310.44°)
OKLaboklab(61.72% 0.0773 -0.1125)
OKLCHoklch(61.72% 0.137 304.5)
XYZxyz(28.8315, 21.9509, 56.7398)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EC7 #9DC76E
analogous
#6E70C7 #986EC7 #C56EC7
triadic
#986EC7 #C7986E #6EC798
tetradic
#986EC7 #C76E70 #9DC76E #6EC7C5
square
#986EC7 #C76E70 #9DC76E #6EC7C5
split-complementary
#986EC7 #C7C56E #70C76E
monochromatic
#5B3487 #7945B3 #986EC7 #B79AD8 #D7C6E9

Accessibility & contrast

On white

3.90
#986EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#986EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EC7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EC7#FFFFFF#000000##000000
##986EC71.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CA
Deuteranopia (green-blind)
#6181C5
Tritanopia (blue-blind)
#907D91
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986ec7;
/* rgb */ color: rgb(152, 110, 199);
/* oklch */ color: oklch(61.7% 0.137 304.5);
Tailwind
colors: {
  custom: {
    50: '#b898d8',
    500: '#986ec7',
    950: '#000000',
  },
}
SCSS
$custom: #986ec7;
$custom-light: #b898d8;
$custom-dark: #000000;
JSON
{
  "hex": "#986ec7",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 199
  },
  "hsl": {
    "h": 268.315,
    "s": 44.279,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61721,
    "c": 0.13652,
    "h": 304.5
  },
  "luminance": 0.21951
}

Semantic roles & 50–950 ramp

primary
#986EC7
secondary
#C9D9B7
accent
#B72E77
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #986EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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