#986BC5#986BC5

#986BC5 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.1% C 0.139 H 305.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#986BC5
RGBrgb(152, 107, 197)
HSLhsl(270, 44%, 60%)
HSVhsv(270, 46%, 77%)
CMYKcmyk(22.8%, 45.7%, 0%, 22.7%)
CIE-LABlab(53.19, 35.57, -40.39)
CIE-LCHlch(53.19, 53.82, 311.37°)
OKLaboklab(61.1% 0.0812 -0.1128)
OKLCHoklch(61.1% 0.139 305.8)
XYZxyz(28.2826, 21.2222, 55.4188)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BC5 #98C56B
analogous
#6B6BC5 #986BC5 #C56BC5
triadic
#986BC5 #C5986B #6BC598
tetradic
#986BC5 #C56B6B #98C56B #6BC5C5
square
#986BC5 #C56B6B #98C56B #6BC5C5
split-complementary
#986BC5 #C5C56B #6BC56B
monochromatic
#5B3382 #7944AE #986BC5 #B797D6 #D5C3E7

Accessibility & contrast

On white

4.00
#986BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#986BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BC5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BC5#FFFFFF#000000##000000
##986BC51.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#547EC8
Deuteranopia (green-blind)
#5F7FC3
Tritanopia (blue-blind)
#917A8F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #986bc5;
/* rgb */ color: rgb(152, 107, 197);
/* oklch */ color: oklch(61.1% 0.139 305.8);
Tailwind
colors: {
  custom: {
    50: '#b896d7',
    500: '#986bc5',
    950: '#000000',
  },
}
SCSS
$custom: #986bc5;
$custom-light: #b896d7;
$custom-dark: #000000;
JSON
{
  "hex": "#986bc5",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 197
  },
  "hsl": {
    "h": 270,
    "s": 43.689,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61101,
    "c": 0.13898,
    "h": 305.8
  },
  "luminance": 0.21222
}

Semantic roles & 50–950 ramp

primary
#986BC5
secondary
#C6D7B4
accent
#D35494
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #986BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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