#986DF7#986DF7

#986DF7 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.4% C 0.198 H 294.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#986DF7
RGBrgb(152, 109, 247)
HSLhsl(259, 90%, 70%)
HSVhsv(259, 56%, 97%)
CMYKcmyk(38.5%, 55.9%, 0%, 3.1%)
CIE-LABlab(56.41, 46.94, -63.41)
CIE-LCHlch(56.41, 78.90, 306.51°)
OKLaboklab(64.39% 0.0823 -0.1801)
OKLCHoklch(64.39% 0.198 294.6)
XYZxyz(35.2016, 24.3273, 90.8186)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DF7 #CCF76D
analogous
#6D87F7 #986DF7 #DD6DF7
triadic
#986DF7 #F7986D #6DF798
tetradic
#986DF7 #F76D87 #CCF76D #6DF7DD
square
#986DF7 #F76D87 #CCF76D #6DF7DD
split-complementary
#986DF7 #F7DD6D #87F76D
monochromatic
#4D0CDD #6F33F4 #986DF7 #C1A7FA #EAE1FD

Accessibility & contrast

On white

3.58
#986DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#986DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DF7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DF7#FFFFFF#000000##000000
##986DF71.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2589FC
Deuteranopia (green-blind)
#3485F4
Tritanopia (blue-blind)
#808AA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #986df7;
/* rgb */ color: rgb(152, 109, 247);
/* oklch */ color: oklch(64.4% 0.198 294.6);
Tailwind
colors: {
  custom: {
    50: '#bb98fb',
    500: '#986df7',
    950: '#000000',
  },
}
SCSS
$custom: #986df7;
$custom-light: #bb98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#986df7",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 258.696,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64393,
    "c": 0.19806,
    "h": 294.6
  },
  "luminance": 0.24328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #986DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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