#986CFD#986CFD

#986CFD is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 64.6% C 0.207 H 293.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#986CFD
RGBrgb(152, 108, 253)
HSLhsl(258, 97%, 71%)
HSVhsv(258, 57%, 99%)
CMYKcmyk(39.9%, 57.3%, 0%, 0.8%)
CIE-LABlab(56.58, 49.06, -66.47)
CIE-LCHlch(56.58, 82.61, 306.43°)
OKLaboklab(64.63% 0.0834 -0.1891)
OKLCHoklch(64.63% 0.207 293.8)
XYZxyz(36.0364, 24.4915, 95.7381)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CFD #D1FD6C
analogous
#6C88FD #986CFD #E06CFD
triadic
#986CFD #FD986C #6CFD98
tetradic
#986CFD #FD6C88 #D1FD6C #6CFDE0
square
#986CFD #FD6C88 #D1FD6C #6CFDE0
split-complementary
#986CFD #FDE06C #88FD6C
monochromatic
#4A03EB #6E30FC #986CFD #C2A8FE #EAE1FF

Accessibility & contrast

On white

3.56
#986CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#986CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CFD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CFD#FFFFFF#000000##000000
##986CFD1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E89FF
Deuteranopia (green-blind)
#2785FA
Tritanopia (blue-blind)
#7E8BAA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #986cfd;
/* rgb */ color: rgb(152, 108, 253);
/* oklch */ color: oklch(64.6% 0.207 293.8);
Tailwind
colors: {
  custom: {
    50: '#bc98ff',
    500: '#986cfd',
    950: '#000000',
  },
}
SCSS
$custom: #986cfd;
$custom-light: #bc98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#986cfd",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 253
  },
  "hsl": {
    "h": 258.207,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64632,
    "c": 0.20673,
    "h": 293.8
  },
  "luminance": 0.24492
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #986CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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