#986BD2#986BD2

#986BD2 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.8% C 0.155 H 302.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#986BD2
RGBrgb(152, 107, 210)
HSLhsl(266, 53%, 62%)
HSVhsv(266, 49%, 82%)
CMYKcmyk(27.6%, 49%, 0%, 17.6%)
CIE-LABlab(53.86, 38.69, -46.74)
CIE-LCHlch(53.86, 60.67, 309.62°)
OKLaboklab(61.82% 0.0828 -0.1313)
OKLCHoklch(61.82% 0.155 302.3)
XYZxyz(29.8368, 21.8439, 63.6047)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BD2 #A5D26B
analogous
#6B71D2 #986BD2 #CC6BD2
triadic
#986BD2 #D2986B #6BD298
tetradic
#986BD2 #D26B71 #A5D26B #6BD2CC
square
#986BD2 #D26B71 #A5D26B #6BD2CC
split-complementary
#986BD2 #D2CC6B #71D26B
monochromatic
#5B2D95 #773CC4 #986BD2 #B99AE0 #D9C9EF

Accessibility & contrast

On white

3.91
#986BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#986BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BD2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BD2#FFFFFF#000000##000000
##986BD21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B80D6
Deuteranopia (green-blind)
#5780CF
Tritanopia (blue-blind)
#8D7E95
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986bd2;
/* rgb */ color: rgb(152, 107, 210);
/* oklch */ color: oklch(61.8% 0.155 302.3);
Tailwind
colors: {
  custom: {
    50: '#b996e0',
    500: '#986bd2',
    950: '#000000',
  },
}
SCSS
$custom: #986bd2;
$custom-light: #b996e0;
$custom-dark: #000000;
JSON
{
  "hex": "#986bd2",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 266.214,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61819,
    "c": 0.15524,
    "h": 302.3
  },
  "luminance": 0.21844
}

Semantic roles & 50–950 ramp

primary
#986BD2
secondary
#CFDFB9
accent
#C1257D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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