#986EF7#986EF7

#986EF7 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.5% C 0.197 H 294.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#986EF7
RGBrgb(152, 110, 247)
HSLhsl(258, 90%, 70%)
HSVhsv(258, 55%, 97%)
CMYKcmyk(38.5%, 55.5%, 0%, 3.1%)
CIE-LABlab(56.63, 46.39, -63.07)
CIE-LCHlch(56.63, 78.29, 306.33°)
OKLaboklab(64.55% 0.0811 -0.1791)
OKLCHoklch(64.55% 0.197 294.4)
XYZxyz(35.3089, 24.5419, 90.8544)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EF7 #CDF76E
analogous
#6E89F7 #986EF7 #DC6EF7
triadic
#986EF7 #F7986E #6EF798
tetradic
#986EF7 #F76E89 #CDF76E #6EF7DC
square
#986EF7 #F76E89 #CDF76E #6EF7DC
split-complementary
#986EF7 #F7DC6E #89F76E
monochromatic
#4D0CDE #6F34F4 #986EF7 #C1A8FA #EAE2FD

Accessibility & contrast

On white

3.55
#986EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#986EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EF7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EF7#FFFFFF#000000##000000
##986EF71.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2889FC
Deuteranopia (green-blind)
#3686F4
Tritanopia (blue-blind)
#808BA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #986ef7;
/* rgb */ color: rgb(152, 110, 247);
/* oklch */ color: oklch(64.5% 0.197 294.4);
Tailwind
colors: {
  custom: {
    50: '#bb99fb',
    500: '#986ef7',
    950: '#000000',
  },
}
SCSS
$custom: #986ef7;
$custom-light: #bb99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#986ef7",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 258.394,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.6455,
    "c": 0.19667,
    "h": 294.4
  },
  "luminance": 0.24543
}

Semantic roles & 50–950 ramp

primary
#986EF7
secondary
#E8F4CD
accent
#E6009F
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #986EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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