#986AE3#986AE3

#986AE3 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.7% C 0.178 H 298.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#986AE3
RGBrgb(152, 106, 227)
HSLhsl(263, 68%, 65%)
HSVhsv(263, 53%, 89%)
CMYKcmyk(33%, 53.3%, 0%, 11%)
CIE-LABlab(54.58, 43.47, -55.19)
CIE-LCHlch(54.58, 70.25, 308.22°)
OKLaboklab(62.66% 0.0854 -0.156)
OKLCHoklch(62.66% 0.178 298.7)
XYZxyz(31.9647, 22.5292, 75.3227)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986AE3 #B5E36A
analogous
#6A78E3 #986AE3 #D56AE3
triadic
#986AE3 #E3986A #6AE398
tetradic
#986AE3 #E36A78 #B5E36A #6AE3D5
square
#986AE3 #E36A78 #B5E36A #6AE3D5
split-complementary
#986AE3 #E3D56A #78E36A
monochromatic
#5821B1 #7436D9 #986AE3 #BC9EED #DFD1F6

Accessibility & contrast

On white

3.81
#986AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#986AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986AE3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986AE3#FFFFFF#000000##000000
##986AE31.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A83E7
Deuteranopia (green-blind)
#4881E0
Tritanopia (blue-blind)
#88829C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #986ae3;
/* rgb */ color: rgb(152, 106, 227);
/* oklch */ color: oklch(62.7% 0.178 298.7);
Tailwind
colors: {
  custom: {
    50: '#ba96ec',
    500: '#986ae3',
    950: '#000000',
  },
}
SCSS
$custom: #986ae3;
$custom-light: #ba96ec;
$custom-dark: #000000;
JSON
{
  "hex": "#986ae3",
  "rgb": {
    "r": 152,
    "g": 106,
    "b": 227
  },
  "hsl": {
    "h": 262.81,
    "s": 68.362,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62661,
    "c": 0.17786,
    "h": 298.7
  },
  "luminance": 0.2253
}

Semantic roles & 50–950 ramp

primary
#986AE3
secondary
#D9E9C0
accent
#D01589
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #986AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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