#986CCC#986CCC

#986CCC is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.7% C 0.146 H 303.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#986CCC
RGBrgb(152, 108, 204)
HSLhsl(268, 48%, 61%)
HSVhsv(268, 47%, 80%)
CMYKcmyk(25.5%, 47.1%, 0%, 20%)
CIE-LABlab(53.77, 36.67, -43.47)
CIE-LCHlch(53.77, 56.87, 310.15°)
OKLaboklab(61.65% 0.0808 -0.1217)
OKLCHoklch(61.65% 0.146 303.6)
XYZxyz(29.2082, 21.7602, 59.7764)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CCC #A0CC6C
analogous
#6C70CC #986CCC #C86CCC
triadic
#986CCC #CC986C #6CCC98
tetradic
#986CCC #CC6C70 #A0CC6C #6CCCC8
square
#986CCC #CC6C70 #A0CC6C #6CCCC8
split-complementary
#986CCC #CCC86C #70CC6C
monochromatic
#5B318D #7841BA #986CCC #B899DC #D8C7EC

Accessibility & contrast

On white

3.92
#986CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#986CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CCC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CCC#FFFFFF#000000##000000
##986CCC1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCF
Deuteranopia (green-blind)
#5C80CA
Tritanopia (blue-blind)
#8F7D92
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #986ccc;
/* rgb */ color: rgb(152, 108, 204);
/* oklch */ color: oklch(61.7% 0.146 303.6);
Tailwind
colors: {
  custom: {
    50: '#b897dc',
    500: '#986ccc',
    950: '#000000',
  },
}
SCSS
$custom: #986ccc;
$custom-light: #b897dc;
$custom-dark: #000000;
JSON
{
  "hex": "#986ccc",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 204
  },
  "hsl": {
    "h": 267.5,
    "s": 48.485,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6165,
    "c": 0.14611,
    "h": 303.6
  },
  "luminance": 0.2176
}

Semantic roles & 50–950 ramp

primary
#986CCC
secondary
#CBDCB8
accent
#BC2A79
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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