#9986EC#9986EC

#9986EC is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.1% C 0.148 H 290.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9986EC
RGBrgb(153, 134, 236)
HSLhsl(251, 73%, 73%)
HSVhsv(251, 43%, 93%)
CMYKcmyk(35.2%, 43.2%, 0%, 7.5%)
CIE-LABlab(61.55, 30.16, -49.12)
CIE-LCHlch(61.55, 57.64, 301.55°)
OKLaboklab(68.05% 0.0516 -0.1382)
OKLCHoklch(68.05% 0.148 290.5)
XYZxyz(36.7983, 29.8777, 83.1688)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9986EC #D9EC86
analogous
#86A6EC #9986EC #CC86EC
triadic
#9986EC #EC9986 #86EC99
tetradic
#9986EC #EC86A6 #D9EC86 #86ECCC
square
#9986EC #EC86A6 #D9EC86 #86ECCC
split-complementary
#9986EC #ECCC86 #A6EC86
monochromatic
#4322D6 #6C51E4 #9986EC #C6BBF4 #E9E5FB

Accessibility & contrast

On white

3.01
#9986EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#9986EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9986EC
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9986EC#FFFFFF#000000##000000
##9986EC1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496F0
Deuteranopia (green-blind)
#6592EA
Tritanopia (blue-blind)
#8499AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9986ec;
/* rgb */ color: rgb(153, 134, 236);
/* oklch */ color: oklch(68.1% 0.148 290.5);
Tailwind
colors: {
  custom: {
    50: '#baa9f2',
    500: '#9986ec',
    950: '#000000',
  },
}
SCSS
$custom: #9986ec;
$custom-light: #baa9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9986ec",
  "rgb": {
    "r": 153,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 251.176,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68052,
    "c": 0.14755,
    "h": 290.5
  },
  "luminance": 0.29879
}

Semantic roles & 50–950 ramp

primary
#9986EC
secondary
#EEF3D8
accent
#D511B0
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9986EC

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

Preview Lab → · Contrast checker → · Palette generator →

#9986EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva