#986EF5#986EF5

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

Color values

HEX#986EF5
RGBrgb(152, 110, 245)
HSLhsl(259, 87%, 70%)
HSVhsv(259, 55%, 96%)
CMYKcmyk(38%, 55.1%, 0%, 3.9%)
CIE-LABlab(56.51, 45.87, -62.16)
CIE-LCHlch(56.51, 77.25, 306.42°)
OKLaboklab(64.42% 0.0811 -0.1765)
OKLCHoklch(64.42% 0.194 294.7)
XYZxyz(35.0019, 24.4191, 89.2377)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EF5 #CBF56E
analogous
#6E87F5 #986EF5 #DC6EF5
triadic
#986EF5 #F5986E #6EF598
tetradic
#986EF5 #F56E87 #CBF56E #6EF5DC
square
#986EF5 #F56E87 #CBF56E #6EF5DC
split-complementary
#986EF5 #F5DC6E #87F56E
monochromatic
#4E0FDA #6F35F1 #986EF5 #C1A7F9 #E9E1FD

Accessibility & contrast

On white

3.57
#986EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#986EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EF5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EF5#FFFFFF#000000##000000
##986EF51.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C89FA
Deuteranopia (green-blind)
#3985F2
Tritanopia (blue-blind)
#818AA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #986ef5;
/* rgb */ color: rgb(152, 110, 245);
/* oklch */ color: oklch(64.4% 0.194 294.7);
Tailwind
colors: {
  custom: {
    50: '#bb99f9',
    500: '#986ef5',
    950: '#000000',
  },
}
SCSS
$custom: #986ef5;
$custom-light: #bb99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#986ef5",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 258.667,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64421,
    "c": 0.19421,
    "h": 294.7
  },
  "luminance": 0.2442
}

Semantic roles & 50–950 ramp

primary
#986EF5
secondary
#E7F3CC
accent
#E4029D
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #986EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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