#986DF5#986DF5

#986DF5 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.3% C 0.196 H 294.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#986DF5
RGBrgb(152, 109, 245)
HSLhsl(259, 87%, 69%)
HSVhsv(259, 56%, 96%)
CMYKcmyk(38%, 55.5%, 0%, 3.9%)
CIE-LABlab(56.29, 46.42, -62.50)
CIE-LCHlch(56.29, 77.85, 306.60°)
OKLaboklab(64.26% 0.0823 -0.1775)
OKLCHoklch(64.26% 0.196 294.9)
XYZxyz(34.8947, 24.2045, 89.2020)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DF5 #CAF56D
analogous
#6D86F5 #986DF5 #DC6DF5
triadic
#986DF5 #F5986D #6DF598
tetradic
#986DF5 #F56D86 #CAF56D #6DF5DC
square
#986DF5 #F56D86 #CAF56D #6DF5DC
split-complementary
#986DF5 #F5DC6D #86F56D
monochromatic
#4F0FD9 #7034F1 #986DF5 #C0A6F9 #E9E0FD

Accessibility & contrast

On white

3.60
#986DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#986DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DF5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DF5#FFFFFF#000000##000000
##986DF51.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2988FA
Deuteranopia (green-blind)
#3785F2
Tritanopia (blue-blind)
#818AA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #986df5;
/* rgb */ color: rgb(152, 109, 245);
/* oklch */ color: oklch(64.3% 0.196 294.9);
Tailwind
colors: {
  custom: {
    50: '#bb98f9',
    500: '#986df5',
    950: '#000000',
  },
}
SCSS
$custom: #986df5;
$custom-light: #bb98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#986df5",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 258.971,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64264,
    "c": 0.19562,
    "h": 294.9
  },
  "luminance": 0.24205
}

Semantic roles & 50–950 ramp

primary
#986DF5
secondary
#E6F2CB
accent
#E4029C
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #986DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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