#986EC2#986EC2

#986EC2 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.5% C 0.130 H 306.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#986EC2
RGBrgb(152, 110, 194)
HSLhsl(270, 41%, 60%)
HSVhsv(270, 43%, 76%)
CMYKcmyk(21.6%, 43.3%, 0%, 23.9%)
CIE-LABlab(53.73, 33.16, -37.82)
CIE-LCHlch(53.73, 50.30, 311.24°)
OKLaboklab(61.46% 0.0765 -0.1054)
OKLCHoklch(61.46% 0.13 306)
XYZxyz(28.2605, 21.7225, 53.7325)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EC2 #98C26E
analogous
#6E6EC2 #986EC2 #C26EC2
triadic
#986EC2 #C2986E #6EC298
tetradic
#986EC2 #C26E6E #98C26E #6EC2C2
square
#986EC2 #C26E6E #98C26E #6EC2C2
split-complementary
#986EC2 #C2C26E #6EC26E
monochromatic
#5B3680 #7948AB #986EC2 #B799D4 #D5C4E6

Accessibility & contrast

On white

3.93
#986EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#986EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EC2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EC2#FFFFFF#000000##000000
##986EC21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7FC5
Deuteranopia (green-blind)
#6481C0
Tritanopia (blue-blind)
#927C8F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #986ec2;
/* rgb */ color: rgb(152, 110, 194);
/* oklch */ color: oklch(61.5% 0.130 306.0);
Tailwind
colors: {
  custom: {
    50: '#b898d5',
    500: '#986ec2',
    950: '#000000',
  },
}
SCSS
$custom: #986ec2;
$custom-light: #b898d5;
$custom-dark: #000000;
JSON
{
  "hex": "#986ec2",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 270,
    "s": 40.777,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.13019,
    "h": 306
  },
  "luminance": 0.21722
}

Semantic roles & 50–950 ramp

primary
#986EC2
secondary
#C6D6B6
accent
#D15794
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #986EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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