#986FFA#986FFA

#986FFA is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.9% C 0.199 H 293.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#986FFA
RGBrgb(152, 111, 250)
HSLhsl(258, 93%, 71%)
HSVhsv(258, 56%, 98%)
CMYKcmyk(39.2%, 55.6%, 0%, 2%)
CIE-LABlab(57.02, 46.62, -64.10)
CIE-LCHlch(57.02, 79.26, 306.03°)
OKLaboklab(64.9% 0.08 -0.1822)
OKLCHoklch(64.9% 0.199 293.7)
XYZxyz(35.8841, 24.9455, 93.3483)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FFA #D1FA6F
analogous
#6F8BFA #986FFA #DE6FFA
triadic
#986FFA #FA986F #6FFA98
tetradic
#986FFA #FA6F8B #D1FA6F #6FFADE
square
#986FFA #FA6F8B #D1FA6F #6FFADE
split-complementary
#986FFA #FADE6F #8BFA6F
monochromatic
#4A08E7 #6E34F8 #986FFA #C2AAFC #EAE1FE

Accessibility & contrast

On white

3.51
#986FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#986FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FFA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FFA#FFFFFF#000000##000000
##986FFA1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#268AFF
Deuteranopia (green-blind)
#3486F7
Tritanopia (blue-blind)
#7F8DAA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #986ffa;
/* rgb */ color: rgb(152, 111, 250);
/* oklch */ color: oklch(64.9% 0.199 293.7);
Tailwind
colors: {
  custom: {
    50: '#bc99fd',
    500: '#986ffa',
    950: '#000000',
  },
}
SCSS
$custom: #986ffa;
$custom-light: #bc99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#986ffa",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 250
  },
  "hsl": {
    "h": 257.698,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.649,
    "c": 0.19896,
    "h": 293.7
  },
  "luminance": 0.24946
}

Semantic roles & 50–950 ramp

primary
#986FFA
secondary
#EAF5D0
accent
#E600A2
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #986FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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