#986DCD#986DCD

#986DCD is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.9% C 0.146 H 303.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#986DCD
RGBrgb(152, 109, 205)
HSLhsl(267, 49%, 62%)
HSVhsv(267, 47%, 80%)
CMYKcmyk(25.9%, 46.8%, 0%, 19.6%)
CIE-LABlab(54.05, 36.35, -43.60)
CIE-LCHlch(54.05, 56.76, 309.82°)
OKLaboklab(61.87% 0.0795 -0.1221)
OKLCHoklch(61.87% 0.146 303.1)
XYZxyz(29.4346, 22.0205, 60.4455)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DCD #A2CD6D
analogous
#6D72CD #986DCD #C86DCD
triadic
#986DCD #CD986D #6DCD98
tetradic
#986DCD #CD6D72 #A2CD6D #6DCDC8
square
#986DCD #CD6D72 #A2CD6D #6DCDC8
split-complementary
#986DCD #CDC86D #72CD6D
monochromatic
#5B318F #7840BC #986DCD #B89BDD #D8C8EC

Accessibility & contrast

On white

3.89
#986DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#986DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DCD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DCD#FFFFFF#000000##000000
##986DCD1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D0
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#8F7E93
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986dcd;
/* rgb */ color: rgb(152, 109, 205);
/* oklch */ color: oklch(61.9% 0.146 303.1);
Tailwind
colors: {
  custom: {
    50: '#b898dd',
    500: '#986dcd',
    950: '#000000',
  },
}
SCSS
$custom: #986dcd;
$custom-light: #b898dd;
$custom-dark: #000000;
JSON
{
  "hex": "#986dcd",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 266.875,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61874,
    "c": 0.14575,
    "h": 303.1
  },
  "luminance": 0.2202
}

Semantic roles & 50–950 ramp

primary
#986DCD
secondary
#CDDDB9
accent
#BC297A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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