#986DFD#986DFD

#986DFD is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 64.8% C 0.205 H 293.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#986DFD
RGBrgb(152, 109, 253)
HSLhsl(258, 97%, 71%)
HSVhsv(258, 57%, 99%)
CMYKcmyk(39.9%, 56.9%, 0%, 0.8%)
CIE-LABlab(56.79, 48.51, -66.14)
CIE-LCHlch(56.79, 82.02, 306.26°)
OKLaboklab(64.79% 0.0823 -0.1882)
OKLCHoklch(64.79% 0.205 293.6)
XYZxyz(36.1424, 24.7036, 95.7735)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DFD #D2FD6D
analogous
#6D8AFD #986DFD #E06DFD
triadic
#986DFD #FD986D #6DFD98
tetradic
#986DFD #FD6D8A #D2FD6D #6DFDE0
square
#986DFD #FD6D8A #D2FD6D #6DFDE0
split-complementary
#986DFD #FDE06D #8AFD6D
monochromatic
#4903EC #6D31FC #986DFD #C3A9FE #EAE1FF

Accessibility & contrast

On white

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

On black

5.94
#986DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DFD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DFD#FFFFFF#000000##000000
##986DFD1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#158AFF
Deuteranopia (green-blind)
#2A86FA
Tritanopia (blue-blind)
#7E8CAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #986dfd;
/* rgb */ color: rgb(152, 109, 253);
/* oklch */ color: oklch(64.8% 0.205 293.6);
Tailwind
colors: {
  custom: {
    50: '#bc98ff',
    500: '#986dfd',
    950: '#000000',
  },
}
SCSS
$custom: #986dfd;
$custom-light: #bc98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#986dfd",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 257.917,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64785,
    "c": 0.20537,
    "h": 293.6
  },
  "luminance": 0.24705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #986DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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