#986FEC#986FEC

#986FEC is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.0% C 0.182 H 296.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#986FEC
RGBrgb(152, 111, 236)
HSLhsl(260, 77%, 68%)
HSVhsv(260, 53%, 93%)
CMYKcmyk(35.6%, 53%, 0%, 7.5%)
CIE-LABlab(56.19, 42.98, -57.66)
CIE-LCHlch(56.19, 71.92, 306.70°)
OKLaboklab(64.02% 0.0796 -0.1632)
OKLCHoklch(64.02% 0.182 296)
XYZxyz(33.7698, 24.0998, 82.2132)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FEC #C3EC6F
analogous
#6F84EC #986FEC #D66FEC
triadic
#986FEC #EC986F #6FEC98
tetradic
#986FEC #EC6F84 #C3EC6F #6FECD6
square
#986FEC #EC6F84 #C3EC6F #6FECD6
split-complementary
#986FEC #ECD66F #84EC6F
monochromatic
#531AC6 #7139E5 #986FEC #BFA5F3 #E5DBFA

Accessibility & contrast

On white

3.61
#986FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#986FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FEC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FEC#FFFFFF#000000##000000
##986FEC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87F0
Deuteranopia (green-blind)
#4685E9
Tritanopia (blue-blind)
#8488A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #986fec;
/* rgb */ color: rgb(152, 111, 236);
/* oklch */ color: oklch(64.0% 0.182 296.0);
Tailwind
colors: {
  custom: {
    50: '#ba99f3',
    500: '#986fec',
    950: '#000000',
  },
}
SCSS
$custom: #986fec;
$custom-light: #ba99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#986fec",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 259.68,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64015,
    "c": 0.18163,
    "h": 296
  },
  "luminance": 0.241
}

Semantic roles & 50–950 ramp

primary
#986FEC
secondary
#E2EFC8
accent
#D90D96
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #986FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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