#986CF7#986CF7

#986CF7 is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.2% C 0.199 H 294.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#986CF7
RGBrgb(152, 108, 247)
HSLhsl(259, 90%, 70%)
HSVhsv(259, 56%, 97%)
CMYKcmyk(38.5%, 56.3%, 0%, 3.1%)
CIE-LABlab(56.20, 47.49, -63.75)
CIE-LCHlch(56.20, 79.50, 306.68°)
OKLaboklab(64.24% 0.0835 -0.1811)
OKLCHoklch(64.24% 0.199 294.7)
XYZxyz(35.0956, 24.1152, 90.7833)
Luminance0.2412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CF7 #CBF76C
analogous
#6C86F7 #986CF7 #DE6CF7
triadic
#986CF7 #F7986C #6CF798
tetradic
#986CF7 #F76C86 #CBF76C #6CF7DE
square
#986CF7 #F76C86 #CBF76C #6CF7DE
split-complementary
#986CF7 #F7DE6C #86F76C
monochromatic
#4E0CDD #6F32F4 #986CF7 #C1A6FA #E9E0FD

Accessibility & contrast

On white

3.61
#986CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#986CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CF7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CF7#FFFFFF#000000##000000
##986CF71.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2188FC
Deuteranopia (green-blind)
#3285F4
Tritanopia (blue-blind)
#808AA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #986cf7;
/* rgb */ color: rgb(152, 108, 247);
/* oklch */ color: oklch(64.2% 0.199 294.7);
Tailwind
colors: {
  custom: {
    50: '#bb97fb',
    500: '#986cf7',
    950: '#000000',
  },
}
SCSS
$custom: #986cf7;
$custom-light: #bb97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#986cf7",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 258.993,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64238,
    "c": 0.19946,
    "h": 294.7
  },
  "luminance": 0.24116
}

Semantic roles & 50–950 ramp

primary
#986CF7
secondary
#E7F3CC
accent
#E6009D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #986CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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