#986EF4#986EF4

#986EF4 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.4% C 0.193 H 294.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#986EF4
RGBrgb(152, 110, 244)
HSLhsl(259, 86%, 69%)
HSVhsv(259, 55%, 96%)
CMYKcmyk(37.7%, 54.9%, 0%, 4.3%)
CIE-LABlab(56.44, 45.61, -61.70)
CIE-LCHlch(56.44, 76.73, 306.47°)
OKLaboklab(64.36% 0.0811 -0.1751)
OKLCHoklch(64.36% 0.193 294.8)
XYZxyz(34.8497, 24.3582, 88.4359)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EF4 #CAF46E
analogous
#6E87F4 #986EF4 #DB6EF4
triadic
#986EF4 #F4986E #6EF498
tetradic
#986EF4 #F46E87 #CAF46E #6EF4DB
square
#986EF4 #F46E87 #CAF46E #6EF4DB
split-complementary
#986EF4 #F4DB6E #87F46E
monochromatic
#4F10D7 #7035F0 #986EF4 #C0A7F8 #E9E0FD

Accessibility & contrast

On white

3.58
#986EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#986EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EF4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EF4#FFFFFF#000000##000000
##986EF41.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D89F8
Deuteranopia (green-blind)
#3B85F1
Tritanopia (blue-blind)
#818AA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #986ef4;
/* rgb */ color: rgb(152, 110, 244);
/* oklch */ color: oklch(64.4% 0.193 294.8);
Tailwind
colors: {
  custom: {
    50: '#bb99f8',
    500: '#986ef4',
    950: '#000000',
  },
}
SCSS
$custom: #986ef4;
$custom-light: #bb99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#986ef4",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 244
  },
  "hsl": {
    "h": 258.806,
    "s": 85.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64358,
    "c": 0.19298,
    "h": 294.8
  },
  "luminance": 0.24359
}

Semantic roles & 50–950 ramp

primary
#986EF4
secondary
#E6F2CC
accent
#E2039C
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #986EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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