#986BC8#986BC8

#986BC8 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.3% C 0.143 H 304.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#986BC8
RGBrgb(152, 107, 200)
HSLhsl(269, 46%, 60%)
HSVhsv(269, 47%, 78%)
CMYKcmyk(24%, 46.5%, 0%, 21.6%)
CIE-LABlab(53.34, 36.28, -41.87)
CIE-LCHlch(53.34, 55.40, 310.91°)
OKLaboklab(61.26% 0.0816 -0.1171)
OKLCHoklch(61.26% 0.143 304.9)
XYZxyz(28.6297, 21.3611, 57.2472)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BC8 #9BC86B
analogous
#6B6CC8 #986BC8 #C66BC8
triadic
#986BC8 #C8986B #6BC898
tetradic
#986BC8 #C86B6C #9BC86B #6BC8C6
square
#986BC8 #C86B6C #9BC86B #6BC8C6
split-complementary
#986BC8 #C8C66B #6CC86B
monochromatic
#5B3287 #7943B3 #986BC8 #B798D9 #D6C4E9

Accessibility & contrast

On white

3.98
#986BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#986BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BC8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BC8#FFFFFF#000000##000000
##986BC81.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECB
Deuteranopia (green-blind)
#5D80C6
Tritanopia (blue-blind)
#907B90
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #986bc8;
/* rgb */ color: rgb(152, 107, 200);
/* oklch */ color: oklch(61.3% 0.143 304.9);
Tailwind
colors: {
  custom: {
    50: '#b896d9',
    500: '#986bc8',
    950: '#000000',
  },
}
SCSS
$custom: #986bc8;
$custom-light: #b896d9;
$custom-dark: #000000;
JSON
{
  "hex": "#986bc8",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 200
  },
  "hsl": {
    "h": 269.032,
    "s": 45.813,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61263,
    "c": 0.14274,
    "h": 304.9
  },
  "luminance": 0.21361
}

Semantic roles & 50–950 ramp

primary
#986BC8
secondary
#C8D9B6
accent
#B92C75
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #986BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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