#986EFA#986EFA

#986EFA is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 64.7% C 0.200 H 293.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#986EFA
RGBrgb(152, 110, 250)
HSLhsl(258, 93%, 71%)
HSVhsv(258, 56%, 98%)
CMYKcmyk(39.2%, 56%, 0%, 2%)
CIE-LABlab(56.81, 47.17, -64.44)
CIE-LCHlch(56.81, 79.86, 306.21°)
OKLaboklab(64.74% 0.0812 -0.1832)
OKLCHoklch(64.74% 0.2 293.9)
XYZxyz(35.7756, 24.7285, 93.3121)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EFA #D0FA6E
analogous
#6E8AFA #986EFA #DE6EFA
triadic
#986EFA #FA986E #6EFA98
tetradic
#986EFA #FA6E8A #D0FA6E #6EFADE
square
#986EFA #FA6E8A #D0FA6E #6EFADE
split-complementary
#986EFA #FADE6E #8AFA6E
monochromatic
#4A08E6 #6E33F8 #986EFA #C2A9FC #EAE1FE

Accessibility & contrast

On white

3.53
#986EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#986EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EFA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EFA#FFFFFF#000000##000000
##986EFA1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#228AFF
Deuteranopia (green-blind)
#3286F7
Tritanopia (blue-blind)
#7F8CAA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #986efa;
/* rgb */ color: rgb(152, 110, 250);
/* oklch */ color: oklch(64.7% 0.200 293.9);
Tailwind
colors: {
  custom: {
    50: '#bc99fd',
    500: '#986efa',
    950: '#000000',
  },
}
SCSS
$custom: #986efa;
$custom-light: #bc99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#986efa",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 258,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64744,
    "c": 0.20034,
    "h": 293.9
  },
  "luminance": 0.24729
}

Semantic roles & 50–950 ramp

primary
#986EFA
secondary
#EAF5CF
accent
#E600A1
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #986EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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