#986BCC#986BCC

#986BCC is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.5% C 0.148 H 303.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#986BCC
RGBrgb(152, 107, 204)
HSLhsl(268, 49%, 61%)
HSVhsv(268, 48%, 80%)
CMYKcmyk(25.5%, 47.5%, 0%, 20%)
CIE-LABlab(53.55, 37.24, -43.82)
CIE-LCHlch(53.55, 57.51, 310.35°)
OKLaboklab(61.48% 0.0822 -0.1228)
OKLCHoklch(61.48% 0.148 303.8)
XYZxyz(29.1033, 21.5505, 59.7415)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BCC #9FCC6B
analogous
#6B6ECC #986BCC #C86BCC
triadic
#986BCC #CC986B #6BCC98
tetradic
#986BCC #CC6B6E #9FCC6B #6BCCC8
square
#986BCC #CC6B6E #9FCC6B #6BCCC8
split-complementary
#986BCC #CCC86B #6ECC6B
monochromatic
#5B308C #7940BA #986BCC #B899DC #D7C6EB

Accessibility & contrast

On white

3.95
#986BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#986BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BCC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BCC#FFFFFF#000000##000000
##986BCC1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FCF
Deuteranopia (green-blind)
#5B80CA
Tritanopia (blue-blind)
#8F7C92
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #986bcc;
/* rgb */ color: rgb(152, 107, 204);
/* oklch */ color: oklch(61.5% 0.148 303.8);
Tailwind
colors: {
  custom: {
    50: '#b896dc',
    500: '#986bcc',
    950: '#000000',
  },
}
SCSS
$custom: #986bcc;
$custom-light: #b896dc;
$custom-dark: #000000;
JSON
{
  "hex": "#986bcc",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 204
  },
  "hsl": {
    "h": 267.835,
    "s": 48.744,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61482,
    "c": 0.14774,
    "h": 303.8
  },
  "luminance": 0.2155
}

Semantic roles & 50–950 ramp

primary
#986BCC
secondary
#CBDCB7
accent
#BC2978
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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