#986DC7#986DC7

#986DC7 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.5% C 0.138 H 304.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#986DC7
RGBrgb(152, 109, 199)
HSLhsl(269, 45%, 60%)
HSVhsv(269, 45%, 78%)
CMYKcmyk(23.6%, 45.2%, 0%, 22%)
CIE-LABlab(53.75, 34.91, -40.66)
CIE-LCHlch(53.75, 53.59, 310.65°)
OKLaboklab(61.55% 0.0787 -0.1136)
OKLCHoklch(61.55% 0.138 304.7)
XYZxyz(28.7242, 21.7363, 56.7040)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DC7 #9CC76D
analogous
#6D6FC7 #986DC7 #C56DC7
triadic
#986DC7 #C7986D #6DC798
tetradic
#986DC7 #C76D6F #9CC76D #6DC7C5
square
#986DC7 #C76D6F #9CC76D #6DC7C5
split-complementary
#986DC7 #C7C56D #6FC76D
monochromatic
#5B3386 #7944B2 #986DC7 #B799D8 #D6C5E9

Accessibility & contrast

On white

3.93
#986DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#986DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DC7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DC7#FFFFFF#000000##000000
##986DC71.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCA
Deuteranopia (green-blind)
#6081C5
Tritanopia (blue-blind)
#907C90
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #986dc7;
/* rgb */ color: rgb(152, 109, 199);
/* oklch */ color: oklch(61.5% 0.138 304.7);
Tailwind
colors: {
  custom: {
    50: '#b897d8',
    500: '#986dc7',
    950: '#000000',
  },
}
SCSS
$custom: #986dc7;
$custom-light: #b897d8;
$custom-dark: #000000;
JSON
{
  "hex": "#986dc7",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 199
  },
  "hsl": {
    "h": 268.667,
    "s": 44.554,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61549,
    "c": 0.13818,
    "h": 304.7
  },
  "luminance": 0.21736
}

Semantic roles & 50–950 ramp

primary
#986DC7
secondary
#C9D9B7
accent
#B82E76
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #986DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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