#986DE4#986DE4

#986DE4 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.2% C 0.175 H 297.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#986DE4
RGBrgb(152, 109, 228)
HSLhsl(262, 69%, 66%)
HSVhsv(262, 52%, 89%)
CMYKcmyk(33.3%, 52.2%, 0%, 10.6%)
CIE-LABlab(55.29, 42.05, -54.62)
CIE-LCHlch(55.29, 68.93, 307.59°)
OKLaboklab(63.2% 0.0817 -0.1543)
OKLCHoklch(63.2% 0.175 297.9)
XYZxyz(32.4177, 23.2137, 76.1565)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DE4 #B9E46D
analogous
#6D7DE4 #986DE4 #D46DE4
triadic
#986DE4 #E4986D #6DE498
tetradic
#986DE4 #E46D7D #B9E46D #6DE4D4
square
#986DE4 #E46D7D #B9E46D #6DE4D4
split-complementary
#986DE4 #E4D46D #7DE46D
monochromatic
#5721B5 #7439DA #986DE4 #BCA1EE #E1D4F7

Accessibility & contrast

On white

3.72
#986DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#986DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DE4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DE4#FFFFFF#000000##000000
##986DE41.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F85E8
Deuteranopia (green-blind)
#4B83E1
Tritanopia (blue-blind)
#87849E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #986de4;
/* rgb */ color: rgb(152, 109, 228);
/* oklch */ color: oklch(63.2% 0.175 297.9);
Tailwind
colors: {
  custom: {
    50: '#ba98ed',
    500: '#986de4',
    950: '#000000',
  },
}
SCSS
$custom: #986de4;
$custom-light: #ba98ed;
$custom-dark: #000000;
JSON
{
  "hex": "#986de4",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 228
  },
  "hsl": {
    "h": 261.681,
    "s": 68.786,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63203,
    "c": 0.17462,
    "h": 297.9
  },
  "luminance": 0.23214
}

Semantic roles & 50–950 ramp

primary
#986DE4
secondary
#DCEAC3
accent
#D1158D
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #986DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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