#986BE4#986BE4

#986BE4 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.9% C 0.178 H 298.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#986BE4
RGBrgb(152, 107, 228)
HSLhsl(262, 69%, 66%)
HSVhsv(262, 53%, 89%)
CMYKcmyk(33.3%, 53.1%, 0%, 10.6%)
CIE-LABlab(54.86, 43.16, -55.31)
CIE-LCHlch(54.86, 70.16, 307.97°)
OKLaboklab(62.88% 0.0842 -0.1564)
OKLCHoklch(62.88% 0.178 298.3)
XYZxyz(32.2068, 22.7919, 76.0862)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BE4 #B7E46B
analogous
#6B7AE4 #986BE4 #D46BE4
triadic
#986BE4 #E4986B #6BE498
tetradic
#986BE4 #E46B7A #B7E46B #6BE4D4
square
#986BE4 #E46B7A #B7E46B #6BE4D4
split-complementary
#986BE4 #E4D46B #7AE46B
monochromatic
#5721B4 #7437DB #986BE4 #BC9FED #E0D3F7

Accessibility & contrast

On white

3.78
#986BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#986BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BE4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BE4#FFFFFF#000000##000000
##986BE41.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B83E8
Deuteranopia (green-blind)
#4882E1
Tritanopia (blue-blind)
#88839D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #986be4;
/* rgb */ color: rgb(152, 107, 228);
/* oklch */ color: oklch(62.9% 0.178 298.3);
Tailwind
colors: {
  custom: {
    50: '#ba96ed',
    500: '#986be4',
    950: '#000000',
  },
}
SCSS
$custom: #986be4;
$custom-light: #ba96ed;
$custom-dark: #000000;
JSON
{
  "hex": "#986be4",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 228
  },
  "hsl": {
    "h": 262.314,
    "s": 69.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62881,
    "c": 0.17761,
    "h": 298.3
  },
  "luminance": 0.22792
}

Semantic roles & 50–950 ramp

primary
#986BE4
secondary
#DBEAC1
accent
#D1148B
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #986BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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