#986ECD#986ECD

#986ECD is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.0% C 0.144 H 302.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#986ECD
RGBrgb(152, 110, 205)
HSLhsl(267, 49%, 62%)
HSVhsv(267, 46%, 80%)
CMYKcmyk(25.9%, 46.3%, 0%, 19.6%)
CIE-LABlab(54.28, 35.78, -43.24)
CIE-LCHlch(54.28, 56.12, 309.61°)
OKLaboklab(62.04% 0.0782 -0.1211)
OKLCHoklch(62.04% 0.144 302.8)
XYZxyz(29.5419, 22.2351, 60.4812)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986ECD #A3CD6E
analogous
#6E74CD #986ECD #C76ECD
triadic
#986ECD #CD986E #6ECD98
tetradic
#986ECD #CD6E74 #A3CD6E #6ECDC7
square
#986ECD #CD6E74 #A3CD6E #6ECDC7
split-complementary
#986ECD #CDC76E #74CD6E
monochromatic
#5B318F #7841BD #986ECD #B89CDD #D9C9EC

Accessibility & contrast

On white

3.86
#986ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#986ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986ECD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986ECD#FFFFFF#000000##000000
##986ECD1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#5D82CB
Tritanopia (blue-blind)
#8F7F94
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #986ecd;
/* rgb */ color: rgb(152, 110, 205);
/* oklch */ color: oklch(62.0% 0.144 302.8);
Tailwind
colors: {
  custom: {
    50: '#b898dd',
    500: '#986ecd',
    950: '#000000',
  },
}
SCSS
$custom: #986ecd;
$custom-light: #b898dd;
$custom-dark: #000000;
JSON
{
  "hex": "#986ecd",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 205
  },
  "hsl": {
    "h": 266.526,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62044,
    "c": 0.14413,
    "h": 302.8
  },
  "luminance": 0.22235
}

Semantic roles & 50–950 ramp

primary
#986ECD
secondary
#CDDDBA
accent
#BC297B
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #986ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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