#986FD2#986FD2

#986FD2 is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.5% C 0.149 H 301.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#986FD2
RGBrgb(152, 111, 210)
HSLhsl(265, 52%, 63%)
HSVhsv(265, 47%, 82%)
CMYKcmyk(27.6%, 47.1%, 0%, 17.6%)
CIE-LABlab(54.76, 36.43, -45.31)
CIE-LCHlch(54.76, 58.14, 308.80°)
OKLaboklab(62.49% 0.0774 -0.1271)
OKLCHoklch(62.49% 0.149 301.3)
XYZxyz(30.2636, 22.6973, 63.7469)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FD2 #A9D26F
analogous
#6F78D2 #986FD2 #C96FD2
triadic
#986FD2 #D2986F #6FD298
tetradic
#986FD2 #D26F78 #A9D26F #6FD2C9
square
#986FD2 #D26F78 #A9D26F #6FD2C9
split-complementary
#986FD2 #D2C96F #78D26F
monochromatic
#5A2F97 #7740C3 #986FD2 #B99EE1 #DBCCEF

Accessibility & contrast

On white

3.79
#986FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#986FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FD2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FD2#FFFFFF#000000##000000
##986FD21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5182D6
Deuteranopia (green-blind)
#5B83D0
Tritanopia (blue-blind)
#8D8197
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #986fd2;
/* rgb */ color: rgb(152, 111, 210);
/* oklch */ color: oklch(62.5% 0.149 301.3);
Tailwind
colors: {
  custom: {
    50: '#b999e0',
    500: '#986fd2',
    950: '#000000',
  },
}
SCSS
$custom: #986fd2;
$custom-light: #b999e0;
$custom-dark: #000000;
JSON
{
  "hex": "#986fd2",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 210
  },
  "hsl": {
    "h": 264.848,
    "s": 52.381,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6249,
    "c": 0.14886,
    "h": 301.3
  },
  "luminance": 0.22697
}

Semantic roles & 50–950 ramp

primary
#986FD2
secondary
#D1E0BD
accent
#C02680
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #986FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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