#986AE8#986AE8

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

Color values

HEX#986AE8
RGBrgb(152, 106, 232)
HSLhsl(262, 73%, 66%)
HSVhsv(262, 54%, 91%)
CMYKcmyk(34.5%, 54.3%, 0%, 9%)
CIE-LABlab(54.88, 44.73, -57.52)
CIE-LCHlch(54.88, 72.87, 307.87°)
OKLaboklab(62.97% 0.0856 -0.1629)
OKLCHoklch(62.97% 0.184 297.7)
XYZxyz(32.6648, 22.8092, 79.0100)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986AE8 #BAE86A
analogous
#6A7BE8 #986AE8 #D76AE8
triadic
#986AE8 #E8986A #6AE898
tetradic
#986AE8 #E86A7B #BAE86A #6AE8D7
square
#986AE8 #E86A7B #BAE86A #6AE8D7
split-complementary
#986AE8 #E8D76A #7BE86A
monochromatic
#561DBB #7335E0 #986AE8 #BD9FF0 #E1D4F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##986AE8#FFFFFF#000000##000000
##986AE81.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)
#3484EC
Deuteranopia (green-blind)
#4382E5
Tritanopia (blue-blind)
#86839F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #986ae8;
/* rgb */ color: rgb(152, 106, 232);
/* oklch */ color: oklch(63.0% 0.184 297.7);
Tailwind
colors: {
  custom: {
    50: '#ba96f0',
    500: '#986ae8',
    950: '#000000',
  },
}
SCSS
$custom: #986ae8;
$custom-light: #ba96f0;
$custom-dark: #000000;
JSON
{
  "hex": "#986ae8",
  "rgb": {
    "r": 152,
    "g": 106,
    "b": 232
  },
  "hsl": {
    "h": 261.905,
    "s": 73.256,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6297,
    "c": 0.184,
    "h": 297.7
  },
  "luminance": 0.2281
}

Semantic roles & 50–950 ramp

primary
#986AE8
secondary
#DCEBC2
accent
#D5108D
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #986AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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