#986FFE#986FFE

#986FFE is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.2% C 0.204 H 293.1°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#986FFE
RGBrgb(152, 111, 254)
HSLhsl(257, 99%, 72%)
HSVhsv(257, 56%, 100%)
CMYKcmyk(40.2%, 56.3%, 0%, 0.4%)
CIE-LABlab(57.27, 47.68, -65.91)
CIE-LCHlch(57.27, 81.34, 305.88°)
OKLaboklab(65.16% 0.08 -0.1875)
OKLCHoklch(65.16% 0.204 293.1)
XYZxyz(36.5179, 25.1991, 96.6866)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FFE #D5FE6F
analogous
#6F8EFE #986FFE #E06FFE
triadic
#986FFE #FE986F #6FFE98
tetradic
#986FFE #FE6F8E #D5FE6F #6FFEE0
square
#986FFE #FE6F8E #D5FE6F #6FFEE0
split-complementary
#986FFE #FEE06F #8EFE6F
monochromatic
#4602F1 #6D32FE #986FFE #C3ACFE #E9E1FF

Accessibility & contrast

On white

3.48
#986FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#986FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FFE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FFE#FFFFFF#000000##000000
##986FFE1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D8BFF
Deuteranopia (green-blind)
#2D87FB
Tritanopia (blue-blind)
#7D8EAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #986ffe;
/* rgb */ color: rgb(152, 111, 254);
/* oklch */ color: oklch(65.2% 0.204 293.1);
Tailwind
colors: {
  custom: {
    50: '#bc9aff',
    500: '#986ffe',
    950: '#000000',
  },
}
SCSS
$custom: #986ffe;
$custom-light: #bc9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#986ffe",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 254
  },
  "hsl": {
    "h": 257.203,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.65161,
    "c": 0.20385,
    "h": 293.1
  },
  "luminance": 0.252
}

Semantic roles & 50–950 ramp

primary
#986FFE
secondary
#ECF7D2
accent
#E600A4
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #986FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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