#986EE7#986EE7

#986EE7 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.5% C 0.177 H 297.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#986EE7
RGBrgb(152, 110, 231)
HSLhsl(261, 72%, 67%)
HSVhsv(261, 52%, 91%)
CMYKcmyk(34.2%, 52.4%, 0%, 9.4%)
CIE-LABlab(55.68, 42.26, -55.67)
CIE-LCHlch(55.68, 69.89, 307.20°)
OKLaboklab(63.55% 0.0806 -0.1574)
OKLCHoklch(63.55% 0.177 297.1)
XYZxyz(32.9450, 23.5963, 78.4046)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EE7 #BDE76E
analogous
#6E81E7 #986EE7 #D46EE7
triadic
#986EE7 #E7986E #6EE798
tetradic
#986EE7 #E76E81 #BDE76E #6EE7D4
square
#986EE7 #E76E81 #BDE76E #6EE7D4
split-complementary
#986EE7 #E7D46E #81E76E
monochromatic
#551FBC #7339DE #986EE7 #BDA3F0 #E3D7F8

Accessibility & contrast

On white

3.67
#986EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#986EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EE7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EE7#FFFFFF#000000##000000
##986EE71.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E86EB
Deuteranopia (green-blind)
#4984E4
Tritanopia (blue-blind)
#8686A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #986ee7;
/* rgb */ color: rgb(152, 110, 231);
/* oklch */ color: oklch(63.5% 0.177 297.1);
Tailwind
colors: {
  custom: {
    50: '#ba99ef',
    500: '#986ee7',
    950: '#000000',
  },
}
SCSS
$custom: #986ee7;
$custom-light: #ba99ef;
$custom-dark: #000000;
JSON
{
  "hex": "#986ee7",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 231
  },
  "hsl": {
    "h": 260.826,
    "s": 71.598,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63547,
    "c": 0.17688,
    "h": 297.1
  },
  "luminance": 0.23597
}

Semantic roles & 50–950 ramp

primary
#986EE7
secondary
#DEECC5
accent
#D41290
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #986EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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