#986CD2#986CD2

#986CD2 is a mid, vivid violet. Relative luminance 0.221; OKLCH L 62.0% C 0.154 H 302.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#986CD2
RGBrgb(152, 108, 210)
HSLhsl(266, 53%, 62%)
HSVhsv(266, 49%, 82%)
CMYKcmyk(27.6%, 48.6%, 0%, 17.6%)
CIE-LABlab(54.08, 38.13, -46.38)
CIE-LCHlch(54.08, 60.04, 309.42°)
OKLaboklab(61.99% 0.0815 -0.1303)
OKLCHoklch(61.99% 0.154 302)
XYZxyz(29.9417, 22.0536, 63.6396)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CD2 #A6D26C
analogous
#6C73D2 #986CD2 #CB6CD2
triadic
#986CD2 #D2986C #6CD298
tetradic
#986CD2 #D26C73 #A6D26C #6CD2CB
square
#986CD2 #D26C73 #A6D26C #6CD2CB
split-complementary
#986CD2 #D2CB6C #73D26C
monochromatic
#5B2E96 #773DC4 #986CD2 #B99BE0 #DACAEF

Accessibility & contrast

On white

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

On black

5.41
#986CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CD2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CD2#FFFFFF#000000##000000
##986CD21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D81D6
Deuteranopia (green-blind)
#5881CF
Tritanopia (blue-blind)
#8D7E95
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986cd2;
/* rgb */ color: rgb(152, 108, 210);
/* oklch */ color: oklch(62.0% 0.154 302.0);
Tailwind
colors: {
  custom: {
    50: '#b997e0',
    500: '#986cd2',
    950: '#000000',
  },
}
SCSS
$custom: #986cd2;
$custom-light: #b997e0;
$custom-dark: #000000;
JSON
{
  "hex": "#986cd2",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 265.882,
    "s": 53.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61985,
    "c": 0.15365,
    "h": 302
  },
  "luminance": 0.22054
}

Semantic roles & 50–950 ramp

primary
#986CD2
secondary
#CFE0BA
accent
#C1257D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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