#986DCF#986DCF

#986DCF is a mid, vivid violet. Relative luminance 0.221; OKLCH L 62.0% C 0.148 H 302.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#986DCF
RGBrgb(152, 109, 207)
HSLhsl(266, 51%, 62%)
HSVhsv(266, 47%, 81%)
CMYKcmyk(26.6%, 47.3%, 0%, 18.8%)
CIE-LABlab(54.15, 36.83, -44.57)
CIE-LCHlch(54.15, 57.82, 309.57°)
OKLaboklab(61.99% 0.0798 -0.125)
OKLCHoklch(61.99% 0.148 302.6)
XYZxyz(29.6775, 22.1177, 61.7250)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DCF #A4CF6D
analogous
#6D73CF #986DCF #C96DCF
triadic
#986DCF #CF986D #6DCF98
tetradic
#986DCF #CF6D73 #A4CF6D #6DCFC9
square
#986DCF #CF6D73 #A4CF6D #6DCFC9
split-complementary
#986DCF #CFC96D #73CF6D
monochromatic
#5B3092 #783FC0 #986DCF #B89BDE #D9C9ED

Accessibility & contrast

On white

3.87
#986DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#986DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DCF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DCF#FFFFFF#000000##000000
##986DCF1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5081D2
Deuteranopia (green-blind)
#5B81CD
Tritanopia (blue-blind)
#8E7E94
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986dcf;
/* rgb */ color: rgb(152, 109, 207);
/* oklch */ color: oklch(62.0% 0.148 302.6);
Tailwind
colors: {
  custom: {
    50: '#b998de',
    500: '#986dcf',
    950: '#000000',
  },
}
SCSS
$custom: #986dcf;
$custom-light: #b998de;
$custom-dark: #000000;
JSON
{
  "hex": "#986dcf",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 207
  },
  "hsl": {
    "h": 266.327,
    "s": 50.515,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61985,
    "c": 0.14827,
    "h": 302.6
  },
  "luminance": 0.22118
}

Semantic roles & 50–950 ramp

primary
#986DCF
secondary
#CEDEBA
accent
#BE287C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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