#986BD5#986BD5

#986BD5 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 62.0% C 0.159 H 301.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#986BD5
RGBrgb(152, 107, 213)
HSLhsl(265, 56%, 63%)
HSVhsv(265, 50%, 84%)
CMYKcmyk(28.6%, 49.8%, 0%, 16.5%)
CIE-LABlab(54.02, 39.42, -48.18)
CIE-LCHlch(54.02, 62.26, 309.29°)
OKLaboklab(61.99% 0.0831 -0.1355)
OKLCHoklch(61.99% 0.159 301.5)
XYZxyz(30.2141, 21.9948, 65.5915)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BD5 #A8D56B
analogous
#6B73D5 #986BD5 #CD6BD5
triadic
#986BD5 #D5986B #6BD598
tetradic
#986BD5 #D56B73 #A8D56B #6BD5CD
square
#986BD5 #D56B73 #A8D56B #6BD5CD
split-complementary
#986BD5 #D5CD6B #73D56B
monochromatic
#5A2C9A #773BC7 #986BD5 #B99BE3 #DACAF0

Accessibility & contrast

On white

3.89
#986BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#986BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BD5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BD5#FFFFFF#000000##000000
##986BD51.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4980D9
Deuteranopia (green-blind)
#5581D2
Tritanopia (blue-blind)
#8C7F96
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986bd5;
/* rgb */ color: rgb(152, 107, 213);
/* oklch */ color: oklch(62.0% 0.159 301.5);
Tailwind
colors: {
  custom: {
    50: '#b996e2',
    500: '#986bd5',
    950: '#000000',
  },
}
SCSS
$custom: #986bd5;
$custom-light: #b996e2;
$custom-dark: #000000;
JSON
{
  "hex": "#986bd5",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 213
  },
  "hsl": {
    "h": 265.472,
    "s": 55.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61991,
    "c": 0.15898,
    "h": 301.5
  },
  "luminance": 0.21995
}

Semantic roles & 50–950 ramp

primary
#986BD5
secondary
#D1E1BB
accent
#C3227F
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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