#986EFE#986EFE

#986EFE is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.0% C 0.205 H 293.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#986EFE
RGBrgb(152, 110, 254)
HSLhsl(258, 99%, 71%)
HSVhsv(258, 57%, 100%)
CMYKcmyk(40.2%, 56.7%, 0%, 0.4%)
CIE-LABlab(57.06, 48.22, -66.25)
CIE-LCHlch(57.06, 81.94, 306.05°)
OKLaboklab(65.01% 0.0812 -0.1885)
OKLCHoklch(65.01% 0.205 293.3)
XYZxyz(36.4094, 24.9821, 96.6504)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EFE #D4FE6E
analogous
#6E8CFE #986EFE #E06EFE
triadic
#986EFE #FE986E #6EFE98
tetradic
#986EFE #FE6E8C #D4FE6E #6EFEE0
square
#986EFE #FE6E8C #D4FE6E #6EFEE0
split-complementary
#986EFE #FEE06E #8CFE6E
monochromatic
#4702F0 #6D31FE #986EFE #C3ABFE #E9E1FF

Accessibility & contrast

On white

3.50
#986EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#986EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EFE
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EFE#FFFFFF#000000##000000
##986EFE1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#188BFF
Deuteranopia (green-blind)
#2A86FB
Tritanopia (blue-blind)
#7D8DAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #986efe;
/* rgb */ color: rgb(152, 110, 254);
/* oklch */ color: oklch(65.0% 0.205 293.3);
Tailwind
colors: {
  custom: {
    50: '#bc99ff',
    500: '#986efe',
    950: '#000000',
  },
}
SCSS
$custom: #986efe;
$custom-light: #bc99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#986efe",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 257.5,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65006,
    "c": 0.20522,
    "h": 293.3
  },
  "luminance": 0.24983
}

Semantic roles & 50–950 ramp

primary
#986EFE
secondary
#ECF7D1
accent
#E600A3
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #986EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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