#986DFC#986DFC

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

Color values

HEX#986DFC
RGBrgb(152, 109, 252)
HSLhsl(258, 96%, 71%)
HSVhsv(258, 57%, 99%)
CMYKcmyk(39.7%, 56.7%, 0%, 1.2%)
CIE-LABlab(56.72, 48.25, -65.68)
CIE-LCHlch(56.72, 81.50, 306.30°)
OKLaboklab(64.72% 0.0823 -0.1868)
OKLCHoklch(64.72% 0.204 293.8)
XYZxyz(35.9835, 24.6401, 94.9367)
Luminance0.2464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DFC #D1FC6D
analogous
#6D89FC #986DFC #DF6DFC
triadic
#986DFC #FC986D #6DFC98
tetradic
#986DFC #FC6D89 #D1FC6D #6DFCDF
square
#986DFC #FC6D89 #D1FC6D #6DFCDF
split-complementary
#986DFC #FCDF6D #89FC6D
monochromatic
#4A05EA #6E31FB #986DFC #C2A9FD #EAE1FE

Accessibility & contrast

On white

3.54
#986DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#986DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DFC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DFC#FFFFFF#000000##000000
##986DFC1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#188AFF
Deuteranopia (green-blind)
#2C86F9
Tritanopia (blue-blind)
#7E8CAA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #986dfc;
/* rgb */ color: rgb(152, 109, 252);
/* oklch */ color: oklch(64.7% 0.204 293.8);
Tailwind
colors: {
  custom: {
    50: '#bc98fe',
    500: '#986dfc',
    950: '#000000',
  },
}
SCSS
$custom: #986dfc;
$custom-light: #bc98fe;
$custom-dark: #000000;
JSON
{
  "hex": "#986dfc",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 252
  },
  "hsl": {
    "h": 258.042,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64719,
    "c": 0.20416,
    "h": 293.8
  },
  "luminance": 0.24641
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #986DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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