#986CCF#986CCF

#986CCF is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.8% C 0.150 H 302.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#986CCF
RGBrgb(152, 108, 207)
HSLhsl(267, 51%, 62%)
HSVhsv(267, 48%, 81%)
CMYKcmyk(26.6%, 47.8%, 0%, 18.8%)
CIE-LABlab(53.93, 37.40, -44.93)
CIE-LCHlch(53.93, 58.46, 309.77°)
OKLaboklab(61.82% 0.0812 -0.126)
OKLCHoklch(61.82% 0.15 302.8)
XYZxyz(29.5715, 21.9055, 61.6897)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CCF #A3CF6C
analogous
#6C72CF #986CCF #CA6CCF
triadic
#986CCF #CF986C #6CCF98
tetradic
#986CCF #CF6C72 #A3CF6C #6CCFCA
square
#986CCF #CF6C72 #A3CF6C #6CCFCA
split-complementary
#986CCF #CFCA6C #72CF6C
monochromatic
#5B2F91 #783EBF #986CCF #B89ADE #D9C8ED

Accessibility & contrast

On white

3.90
#986CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#986CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CCF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CCF#FFFFFF#000000##000000
##986CCF1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D3
Deuteranopia (green-blind)
#5A81CD
Tritanopia (blue-blind)
#8E7E94
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986ccf;
/* rgb */ color: rgb(152, 108, 207);
/* oklch */ color: oklch(61.8% 0.150 302.8);
Tailwind
colors: {
  custom: {
    50: '#b997de',
    500: '#986ccf',
    950: '#000000',
  },
}
SCSS
$custom: #986ccf;
$custom-light: #b997de;
$custom-dark: #000000;
JSON
{
  "hex": "#986ccf",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 207
  },
  "hsl": {
    "h": 266.667,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61817,
    "c": 0.14988,
    "h": 302.8
  },
  "luminance": 0.21906
}

Semantic roles & 50–950 ramp

primary
#986CCF
secondary
#CDDEB9
accent
#BE277B
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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