#986FF5#986FF5

#986FF5 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.6% C 0.193 H 294.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#986FF5
RGBrgb(152, 111, 245)
HSLhsl(258, 87%, 70%)
HSVhsv(258, 55%, 96%)
CMYKcmyk(38%, 54.7%, 0%, 3.9%)
CIE-LABlab(56.72, 45.31, -61.81)
CIE-LCHlch(56.72, 76.64, 306.24°)
OKLaboklab(64.58% 0.0799 -0.1754)
OKLCHoklch(64.58% 0.193 294.5)
XYZxyz(35.1104, 24.6361, 89.2739)
Luminance0.2464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FF5 #CCF56F
analogous
#6F89F5 #986FF5 #DB6FF5
triadic
#986FF5 #F5986F #6FF598
tetradic
#986FF5 #F56F89 #CCF56F #6FF5DB
square
#986FF5 #F56F89 #CCF56F #6FF5DB
split-complementary
#986FF5 #F5DB6F #89F56F
monochromatic
#4D0FDA #6F36F1 #986FF5 #C1A8F9 #EAE1FD

Accessibility & contrast

On white

3.54
#986FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#986FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FF5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FF5#FFFFFF#000000##000000
##986FF51.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F89FA
Deuteranopia (green-blind)
#3B86F2
Tritanopia (blue-blind)
#818BA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #986ff5;
/* rgb */ color: rgb(152, 111, 245);
/* oklch */ color: oklch(64.6% 0.193 294.5);
Tailwind
colors: {
  custom: {
    50: '#bb99f9',
    500: '#986ff5',
    950: '#000000',
  },
}
SCSS
$custom: #986ff5;
$custom-light: #bb99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#986ff5",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 258.358,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64579,
    "c": 0.1928,
    "h": 294.5
  },
  "luminance": 0.24637
}

Semantic roles & 50–950 ramp

primary
#986FF5
secondary
#E7F3CD
accent
#E4029F
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #986FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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