#986FC2#986FC2

#986FC2 is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.6% C 0.128 H 305.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#986FC2
RGBrgb(152, 111, 194)
HSLhsl(270, 40%, 60%)
HSVhsv(270, 43%, 76%)
CMYKcmyk(21.6%, 42.8%, 0%, 23.9%)
CIE-LABlab(53.96, 32.58, -37.46)
CIE-LCHlch(53.96, 49.65, 311.02°)
OKLaboklab(61.63% 0.075 -0.1043)
OKLCHoklch(61.63% 0.128 305.7)
XYZxyz(28.3690, 21.9395, 53.7687)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FC2 #99C26F
analogous
#6F6FC2 #986FC2 #C26FC2
triadic
#986FC2 #C2986F #6FC298
tetradic
#986FC2 #C26F6F #99C26F #6FC2C2
square
#986FC2 #C26F6F #99C26F #6FC2C2
split-complementary
#986FC2 #C2C26F #6FC26F
monochromatic
#5B3680 #7949AB #986FC2 #B79AD4 #D5C5E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##986FC2#FFFFFF#000000##000000
##986FC21.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)
#5B80C5
Deuteranopia (green-blind)
#6581C0
Tritanopia (blue-blind)
#927C8F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986fc2;
/* rgb */ color: rgb(152, 111, 194);
/* oklch */ color: oklch(61.6% 0.128 305.7);
Tailwind
colors: {
  custom: {
    50: '#b899d5',
    500: '#986fc2',
    950: '#000000',
  },
}
SCSS
$custom: #986fc2;
$custom-light: #b899d5;
$custom-dark: #000000;
JSON
{
  "hex": "#986fc2",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 269.639,
    "s": 40.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61632,
    "c": 0.12849,
    "h": 305.7
  },
  "luminance": 0.21939
}

Semantic roles & 50–950 ramp

primary
#986FC2
secondary
#C7D6B6
accent
#D05795
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #986FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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