#986AFF#986AFF

#986AFF is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.5% C 0.212 H 293.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#986AFF
RGBrgb(152, 106, 255)
HSLhsl(259, 100%, 71%)
HSVhsv(259, 58%, 100%)
CMYKcmyk(40.4%, 58.4%, 0%, 0%)
CIE-LABlab(56.29, 50.66, -68.04)
CIE-LCHlch(56.29, 84.83, 306.67°)
OKLaboklab(64.46% 0.0857 -0.1937)
OKLCHoklch(64.46% 0.212 293.8)
XYZxyz(36.1481, 24.2026, 97.3554)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986AFF #D1FF6A
analogous
#6A86FF #986AFF #E26AFF
triadic
#986AFF #FF986A #6AFF98
tetradic
#986AFF #FF6A86 #D1FF6A #6AFFE2
square
#986AFF #FF6A86 #D1FF6A #6AFFE2
split-complementary
#986AFF #FFE26A #86FF6A
monochromatic
#4A00EF #6E2DFF #986AFF #C2A7FF #EAE0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##986AFF#FFFFFF#000000##000000
##986AFF1.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)
#0089FF
Deuteranopia (green-blind)
#1C84FC
Tritanopia (blue-blind)
#7D8BAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #986aff;
/* rgb */ color: rgb(152, 106, 255);
/* oklch */ color: oklch(64.5% 0.212 293.8);
Tailwind
colors: {
  custom: {
    50: '#bc96ff',
    500: '#986aff',
    950: '#000000',
  },
}
SCSS
$custom: #986aff;
$custom-light: #bc96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#986aff",
  "rgb": {
    "r": 152,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 258.523,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64462,
    "c": 0.21184,
    "h": 293.8
  },
  "luminance": 0.24203
}

Semantic roles & 50–950 ramp

primary
#986AFF
secondary
#EAF6CE
accent
#E6009F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #986AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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