#986DFE#986DFE

#986DFE is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 64.9% C 0.207 H 293.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#986DFE
RGBrgb(152, 109, 254)
HSLhsl(258, 99%, 71%)
HSVhsv(258, 57%, 100%)
CMYKcmyk(40.2%, 57.1%, 0%, 0.4%)
CIE-LABlab(56.85, 48.77, -66.59)
CIE-LCHlch(56.85, 82.54, 306.22°)
OKLaboklab(64.85% 0.0823 -0.1895)
OKLCHoklch(64.85% 0.207 293.5)
XYZxyz(36.3021, 24.7675, 96.6147)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DFE #D3FE6D
analogous
#6D8AFE #986DFE #E06DFE
triadic
#986DFE #FE986D #6DFE98
tetradic
#986DFE #FE6D8A #D3FE6D #6DFEE0
square
#986DFE #FE6D8A #D3FE6D #6DFEE0
split-complementary
#986DFE #FEE06D #8AFE6D
monochromatic
#4802EF #6D30FE #986DFE #C3AAFE #EAE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##986DFE#FFFFFF#000000##000000
##986DFE1.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)
#118AFF
Deuteranopia (green-blind)
#2886FB
Tritanopia (blue-blind)
#7D8CAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #986dfe;
/* rgb */ color: rgb(152, 109, 254);
/* oklch */ color: oklch(64.9% 0.207 293.5);
Tailwind
colors: {
  custom: {
    50: '#bc98ff',
    500: '#986dfe',
    950: '#000000',
  },
}
SCSS
$custom: #986dfe;
$custom-light: #bc98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#986dfe",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 257.793,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64851,
    "c": 0.20658,
    "h": 293.5
  },
  "luminance": 0.24768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #986DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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