#986EC0#986EC0

#986EC0 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.4% C 0.128 H 306.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#986EC0
RGBrgb(152, 110, 192)
HSLhsl(271, 39%, 59%)
HSVhsv(271, 43%, 75%)
CMYKcmyk(20.8%, 42.7%, 0%, 24.7%)
CIE-LABlab(53.64, 32.69, -36.83)
CIE-LCHlch(53.64, 49.24, 311.59°)
OKLaboklab(61.36% 0.0761 -0.1025)
OKLCHoklch(61.36% 0.128 306.6)
XYZxyz(28.0374, 21.6333, 52.5575)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EC0 #96C06E
analogous
#6F6EC0 #986EC0 #C06EBF
triadic
#986EC0 #C0986E #6EC098
tetradic
#986EC0 #C06F6E #96C06E #6EBFC0
square
#986EC0 #C06F6E #96C06E #6EBFC0
split-complementary
#986EC0 #BFC06E #6EC06F
monochromatic
#5B367D #7A49A8 #986EC0 #B699D3 #D5C3E5

Accessibility & contrast

On white

3.94
#986EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#986EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EC0
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EC0#FFFFFF#000000##000000
##986EC01.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7FC3
Deuteranopia (green-blind)
#6581BE
Tritanopia (blue-blind)
#927B8E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #986ec0;
/* rgb */ color: rgb(152, 110, 192);
/* oklch */ color: oklch(61.4% 0.128 306.6);
Tailwind
colors: {
  custom: {
    50: '#b898d3',
    500: '#986ec0',
    950: '#000000',
  },
}
SCSS
$custom: #986ec0;
$custom-light: #b898d3;
$custom-dark: #000000;
JSON
{
  "hex": "#986ec0",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 192
  },
  "hsl": {
    "h": 270.732,
    "s": 39.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61355,
    "c": 0.12766,
    "h": 306.6
  },
  "luminance": 0.21633
}

Semantic roles & 50–950 ramp

primary
#986EC0
secondary
#C5D5B5
accent
#CF5892
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #986EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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