#986FEA#986FEA

#986FEA is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.9% C 0.179 H 296.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#986FEA
RGBrgb(152, 111, 234)
HSLhsl(260, 75%, 68%)
HSVhsv(260, 53%, 92%)
CMYKcmyk(35%, 52.6%, 0%, 8.2%)
CIE-LABlab(56.07, 42.47, -56.73)
CIE-LCHlch(56.07, 70.86, 306.82°)
OKLaboklab(63.89% 0.0795 -0.1605)
OKLCHoklch(63.89% 0.179 296.4)
XYZxyz(33.4809, 23.9843, 80.6914)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FEA #C1EA6F
analogous
#6F84EA #986FEA #D56FEA
triadic
#986FEA #EA986F #6FEA98
tetradic
#986FEA #EA6F84 #C1EA6F #6FEAD5
square
#986FEA #EA6F84 #C1EA6F #6FEAD5
split-complementary
#986FEA #EAD56F #84EA6F
monochromatic
#541CC2 #723AE2 #986FEA #BEA4F2 #E4DAFA

Accessibility & contrast

On white

3.62
#986FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#986FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FEA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FEA#FFFFFF#000000##000000
##986FEA1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D87EE
Deuteranopia (green-blind)
#4885E7
Tritanopia (blue-blind)
#8588A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #986fea;
/* rgb */ color: rgb(152, 111, 234);
/* oklch */ color: oklch(63.9% 0.179 296.4);
Tailwind
colors: {
  custom: {
    50: '#ba99f1',
    500: '#986fea',
    950: '#000000',
  },
}
SCSS
$custom: #986fea;
$custom-light: #ba99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#986fea",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 260,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63893,
    "c": 0.17914,
    "h": 296.4
  },
  "luminance": 0.23985
}

Semantic roles & 50–950 ramp

primary
#986FEA
secondary
#E1EDC7
accent
#D70F94
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #986FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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