#986BC2#986BC2

#986BC2 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 60.9% C 0.135 H 306.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#986BC2
RGBrgb(152, 107, 194)
HSLhsl(271, 42%, 59%)
HSVhsv(271, 45%, 76%)
CMYKcmyk(21.6%, 44.8%, 0%, 23.9%)
CIE-LABlab(53.04, 34.86, -38.90)
CIE-LCHlch(53.04, 52.24, 311.86°)
OKLaboklab(60.94% 0.0808 -0.1085)
OKLCHoklch(60.94% 0.135 306.7)
XYZxyz(27.9422, 21.0861, 53.6265)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BC2 #95C26B
analogous
#6D6BC2 #986BC2 #C26BC1
triadic
#986BC2 #C2986B #6BC298
tetradic
#986BC2 #C26D6B #95C26B #6BC1C2
square
#986BC2 #C26D6B #95C26B #6BC1C2
split-complementary
#986BC2 #C1C26B #6BC26D
monochromatic
#5B347E #7A46AA #986BC2 #B696D4 #D4C2E6

Accessibility & contrast

On white

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

On black

5.22
#986BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BC2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BC2#FFFFFF#000000##000000
##986BC21.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#567DC5
Deuteranopia (green-blind)
#617FC0
Tritanopia (blue-blind)
#92798D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #986bc2;
/* rgb */ color: rgb(152, 107, 194);
/* oklch */ color: oklch(60.9% 0.135 306.7);
Tailwind
colors: {
  custom: {
    50: '#b896d5',
    500: '#986bc2',
    950: '#000000',
  },
}
SCSS
$custom: #986bc2;
$custom-light: #b896d5;
$custom-dark: #000000;
JSON
{
  "hex": "#986bc2",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 271.034,
    "s": 41.627,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60942,
    "c": 0.13524,
    "h": 306.7
  },
  "luminance": 0.21086
}

Semantic roles & 50–950 ramp

primary
#986BC2
secondary
#C4D5B3
accent
#D15692
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #986BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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