#986CFE#986CFE

#986CFE is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 64.7% C 0.208 H 293.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#986CFE
RGBrgb(152, 108, 254)
HSLhsl(258, 99%, 71%)
HSVhsv(258, 57%, 100%)
CMYKcmyk(40.2%, 57.5%, 0%, 0.4%)
CIE-LABlab(56.64, 49.32, -66.92)
CIE-LCHlch(56.64, 83.13, 306.39°)
OKLaboklab(64.7% 0.0834 -0.1905)
OKLCHoklch(64.7% 0.208 293.7)
XYZxyz(36.1961, 24.5554, 96.5793)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CFE #D2FE6C
analogous
#6C89FE #986CFE #E16CFE
triadic
#986CFE #FE986C #6CFE98
tetradic
#986CFE #FE6C89 #D2FE6C #6CFEE1
square
#986CFE #FE6C89 #D2FE6C #6CFEE1
split-complementary
#986CFE #FEE16C #89FE6C
monochromatic
#4902EE #6D2FFE #986CFE #C3A9FE #EAE1FF

Accessibility & contrast

On white

3.55
#986CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#986CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CFE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CFE#FFFFFF#000000##000000
##986CFE1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#098AFF
Deuteranopia (green-blind)
#2585FB
Tritanopia (blue-blind)
#7D8CAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #986cfe;
/* rgb */ color: rgb(152, 108, 254);
/* oklch */ color: oklch(64.7% 0.208 293.7);
Tailwind
colors: {
  custom: {
    50: '#bc98ff',
    500: '#986cfe',
    950: '#000000',
  },
}
SCSS
$custom: #986cfe;
$custom-light: #bc98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#986cfe",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 258.082,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64698,
    "c": 0.20794,
    "h": 293.7
  },
  "luminance": 0.24556
}

Semantic roles & 50–950 ramp

primary
#986CFE
secondary
#EBF6CF
accent
#E600A0
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #986CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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