#986FC8#986FC8

#986FC8 is a mid, vivid violet. Relative luminance 0.222; OKLCH L 61.9% C 0.136 H 303.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#986FC8
RGBrgb(152, 111, 200)
HSLhsl(268, 45%, 61%)
HSVhsv(268, 45%, 78%)
CMYKcmyk(24%, 44.5%, 0%, 21.6%)
CIE-LABlab(54.25, 34.01, -40.43)
CIE-LCHlch(54.25, 52.83, 310.07°)
OKLaboklab(61.95% 0.076 -0.1129)
OKLCHoklch(61.95% 0.136 303.9)
XYZxyz(29.0564, 22.2145, 57.3895)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FC8 #9FC86F
analogous
#6F72C8 #986FC8 #C46FC8
triadic
#986FC8 #C8986F #6FC898
tetradic
#986FC8 #C86F72 #9FC86F #6FC8C4
square
#986FC8 #C86F72 #9FC86F #6FC8C4
split-complementary
#986FC8 #C8C46F #72C86F
monochromatic
#5B3488 #7945B5 #986FC8 #B89BD9 #D7C8EA

Accessibility & contrast

On white

3.86
#986FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#986FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FC8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FC8#FFFFFF#000000##000000
##986FC81.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CB
Deuteranopia (green-blind)
#6182C6
Tritanopia (blue-blind)
#907E92
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #986fc8;
/* rgb */ color: rgb(152, 111, 200);
/* oklch */ color: oklch(61.9% 0.136 303.9);
Tailwind
colors: {
  custom: {
    50: '#b899d9',
    500: '#986fc8',
    950: '#000000',
  },
}
SCSS
$custom: #986fc8;
$custom-light: #b899d9;
$custom-dark: #000000;
JSON
{
  "hex": "#986fc8",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 200
  },
  "hsl": {
    "h": 267.64,
    "s": 44.724,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61946,
    "c": 0.13612,
    "h": 303.9
  },
  "luminance": 0.22214
}

Semantic roles & 50–950 ramp

primary
#986FC8
secondary
#CBDAB9
accent
#B82E78
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #986FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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