#986CD3#986CD3

#986CD3 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.0% C 0.155 H 301.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#986CD3
RGBrgb(152, 108, 211)
HSLhsl(266, 54%, 63%)
HSVhsv(266, 49%, 83%)
CMYKcmyk(28%, 48.8%, 0%, 17.3%)
CIE-LABlab(54.14, 38.37, -46.87)
CIE-LCHlch(54.14, 60.57, 309.31°)
OKLaboklab(62.04% 0.0816 -0.1317)
OKLCHoklch(62.04% 0.155 301.8)
XYZxyz(30.0667, 22.1036, 64.2978)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CD3 #A7D36C
analogous
#6C73D3 #986CD3 #CC6CD3
triadic
#986CD3 #D3986C #6CD398
tetradic
#986CD3 #D36C73 #A7D36C #6CD3CC
square
#986CD3 #D36C73 #A7D36C #6CD3CC
split-complementary
#986CD3 #D3CC6C #73D36C
monochromatic
#5B2D97 #773DC5 #986CD3 #B99BE1 #DACAEF

Accessibility & contrast

On white

3.87
#986CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#986CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CD3
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CD3#FFFFFF#000000##000000
##986CD31.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C81D7
Deuteranopia (green-blind)
#5781D0
Tritanopia (blue-blind)
#8D7F96
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986cd3;
/* rgb */ color: rgb(152, 108, 211);
/* oklch */ color: oklch(62.0% 0.155 301.8);
Tailwind
colors: {
  custom: {
    50: '#b997e1',
    500: '#986cd3',
    950: '#000000',
  },
}
SCSS
$custom: #986cd3;
$custom-light: #b997e1;
$custom-dark: #000000;
JSON
{
  "hex": "#986cd3",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 211
  },
  "hsl": {
    "h": 265.631,
    "s": 53.927,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62042,
    "c": 0.1549,
    "h": 301.8
  },
  "luminance": 0.22104
}

Semantic roles & 50–950 ramp

primary
#986CD3
secondary
#D0E0BB
accent
#C1247E
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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