#986EC3#986EC3

#986EC3 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.5% C 0.131 H 305.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#986EC3
RGBrgb(152, 110, 195)
HSLhsl(270, 41%, 60%)
HSVhsv(270, 44%, 76%)
CMYKcmyk(22.1%, 43.6%, 0%, 23.5%)
CIE-LABlab(53.78, 33.39, -38.32)
CIE-LCHlch(53.78, 50.82, 311.07°)
OKLaboklab(61.51% 0.0766 -0.1068)
OKLCHoklch(61.51% 0.131 305.7)
XYZxyz(28.3731, 21.7676, 54.3260)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EC3 #99C36E
analogous
#6E6FC3 #986EC3 #C26EC3
triadic
#986EC3 #C3986E #6EC398
tetradic
#986EC3 #C36E6F #99C36E #6EC3C2
square
#986EC3 #C36E6F #99C36E #6EC3C2
split-complementary
#986EC3 #C3C26E #6FC36E
monochromatic
#5B3581 #7947AC #986EC3 #B799D5 #D5C5E7

Accessibility & contrast

On white

3.92
#986EC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#986EC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EC3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EC3#FFFFFF#000000##000000
##986EC31.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC6
Deuteranopia (green-blind)
#6381C1
Tritanopia (blue-blind)
#917C8F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #986ec3;
/* rgb */ color: rgb(152, 110, 195);
/* oklch */ color: oklch(61.5% 0.131 305.7);
Tailwind
colors: {
  custom: {
    50: '#b898d5',
    500: '#986ec3',
    950: '#000000',
  },
}
SCSS
$custom: #986ec3;
$custom-light: #b898d5;
$custom-dark: #000000;
JSON
{
  "hex": "#986ec3",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 195
  },
  "hsl": {
    "h": 269.647,
    "s": 41.463,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6151,
    "c": 0.13145,
    "h": 305.7
  },
  "luminance": 0.21767
}

Semantic roles & 50–950 ramp

primary
#986EC3
secondary
#C7D7B6
accent
#D15795
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #986EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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