#986DCA#986DCA

#986DCA is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.7% C 0.142 H 303.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#986DCA
RGBrgb(152, 109, 202)
HSLhsl(268, 47%, 61%)
HSVhsv(268, 46%, 79%)
CMYKcmyk(24.8%, 46%, 0%, 20.8%)
CIE-LABlab(53.90, 35.62, -42.13)
CIE-LCHlch(53.90, 55.17, 310.22°)
OKLaboklab(61.71% 0.0791 -0.1179)
OKLCHoklch(61.71% 0.142 303.9)
XYZxyz(29.0759, 21.8770, 58.5566)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DCA #9FCA6D
analogous
#6D70CA #986DCA #C66DCA
triadic
#986DCA #CA986D #6DCA98
tetradic
#986DCA #CA6D70 #9FCA6D #6DCAC6
square
#986DCA #CA6D70 #9FCA6D #6DCAC6
split-complementary
#986DCA #CAC66D #70CA6D
monochromatic
#5B328A #7943B7 #986DCA #B89ADA #D7C7EB

Accessibility & contrast

On white

3.91
#986DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#986DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DCA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DCA#FFFFFF#000000##000000
##986DCA1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#907D92
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986dca;
/* rgb */ color: rgb(152, 109, 202);
/* oklch */ color: oklch(61.7% 0.142 303.9);
Tailwind
colors: {
  custom: {
    50: '#b898da',
    500: '#986dca',
    950: '#000000',
  },
}
SCSS
$custom: #986dca;
$custom-light: #b898da;
$custom-dark: #000000;
JSON
{
  "hex": "#986dca",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 202
  },
  "hsl": {
    "h": 267.742,
    "s": 46.734,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61711,
    "c": 0.14196,
    "h": 303.9
  },
  "luminance": 0.21877
}

Semantic roles & 50–950 ramp

primary
#986DCA
secondary
#CBDBB8
accent
#BA2C78
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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