#986DCC#986DCC

#986DCC is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.8% C 0.144 H 303.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#986DCC
RGBrgb(152, 109, 204)
HSLhsl(267, 48%, 61%)
HSVhsv(267, 47%, 80%)
CMYKcmyk(25.5%, 46.6%, 0%, 20%)
CIE-LABlab(54.00, 36.10, -43.11)
CIE-LCHlch(54.00, 56.23, 309.94°)
OKLaboklab(61.82% 0.0794 -0.1207)
OKLCHoklch(61.82% 0.144 303.3)
XYZxyz(29.3142, 21.9724, 59.8118)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DCC #A1CC6D
analogous
#6D72CC #986DCC #C86DCC
triadic
#986DCC #CC986D #6DCC98
tetradic
#986DCC #CC6D72 #A1CC6D #6DCCC8
square
#986DCC #CC6D72 #A1CC6D #6DCCC8
split-complementary
#986DCC #CCC86D #72CC6D
monochromatic
#5B318D #7841BB #986DCC #B89ADC #D8C8EC

Accessibility & contrast

On white

3.89
#986DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#986DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DCC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DCC#FFFFFF#000000##000000
##986DCC1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#8F7D93
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986dcc;
/* rgb */ color: rgb(152, 109, 204);
/* oklch */ color: oklch(61.8% 0.144 303.3);
Tailwind
colors: {
  custom: {
    50: '#b898dc',
    500: '#986dcc',
    950: '#000000',
  },
}
SCSS
$custom: #986dcc;
$custom-light: #b898dc;
$custom-dark: #000000;
JSON
{
  "hex": "#986dcc",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 204
  },
  "hsl": {
    "h": 267.158,
    "s": 48.223,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61819,
    "c": 0.14449,
    "h": 303.3
  },
  "luminance": 0.21972
}

Semantic roles & 50–950 ramp

primary
#986DCC
secondary
#CCDCB9
accent
#BC2A7A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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