#986ECA#986ECA

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

Color values

HEX#986ECA
RGBrgb(152, 110, 202)
HSLhsl(267, 46%, 61%)
HSVhsv(267, 46%, 79%)
CMYKcmyk(24.8%, 45.5%, 0%, 20.8%)
CIE-LABlab(54.12, 35.06, -41.77)
CIE-LCHlch(54.12, 54.53, 310.00°)
OKLaboklab(61.88% 0.0777 -0.1168)
OKLCHoklch(61.88% 0.14 303.6)
XYZxyz(29.1832, 22.0916, 58.5923)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986ECA #A0CA6E
analogous
#6E72CA #986ECA #C66ECA
triadic
#986ECA #CA986E #6ECA98
tetradic
#986ECA #CA6E72 #A0CA6E #6ECAC6
square
#986ECA #CA6E72 #A0CA6E #6ECAC6
split-complementary
#986ECA #CAC66E #72CA6E
monochromatic
#5B338B #7843B8 #986ECA #B89BDA #D8C8EB

Accessibility & contrast

On white

3.88
#986ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##986ECA#FFFFFF#000000##000000
##986ECA1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#5F81C8
Tritanopia (blue-blind)
#8F7E92
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986eca;
/* rgb */ color: rgb(152, 110, 202);
/* oklch */ color: oklch(61.9% 0.140 303.6);
Tailwind
colors: {
  custom: {
    50: '#b898da',
    500: '#986eca',
    950: '#000000',
  },
}
SCSS
$custom: #986eca;
$custom-light: #b898da;
$custom-dark: #000000;
JSON
{
  "hex": "#986eca",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 267.391,
    "s": 46.465,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61881,
    "c": 0.14033,
    "h": 303.6
  },
  "luminance": 0.22092
}

Semantic roles & 50–950 ramp

primary
#986ECA
secondary
#CBDBB9
accent
#BA2C79
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #986ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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