#986EEC#986EEC

#986EEC is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.9% C 0.183 H 296.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#986EEC
RGBrgb(152, 110, 236)
HSLhsl(260, 77%, 68%)
HSVhsv(260, 53%, 93%)
CMYKcmyk(35.6%, 53.4%, 0%, 7.5%)
CIE-LABlab(55.97, 43.54, -58.01)
CIE-LCHlch(55.97, 72.53, 306.89°)
OKLaboklab(63.85% 0.0809 -0.1643)
OKLCHoklch(63.85% 0.183 296.2)
XYZxyz(33.6613, 23.8828, 82.1770)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EEC #C2EC6E
analogous
#6E83EC #986EEC #D76EEC
triadic
#986EEC #EC986E #6EEC98
tetradic
#986EEC #EC6E83 #C2EC6E #6EECD7
square
#986EEC #EC6E83 #C2EC6E #6EECD7
split-complementary
#986EEC #ECD76E #83EC6E
monochromatic
#531AC6 #7238E5 #986EEC #BEA4F3 #E5DAFA

Accessibility & contrast

On white

3.64
#986EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#986EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EEC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EEC#FFFFFF#000000##000000
##986EEC1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#4484E9
Tritanopia (blue-blind)
#8488A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #986eec;
/* rgb */ color: rgb(152, 110, 236);
/* oklch */ color: oklch(63.9% 0.183 296.2);
Tailwind
colors: {
  custom: {
    50: '#ba99f3',
    500: '#986eec',
    950: '#000000',
  },
}
SCSS
$custom: #986eec;
$custom-light: #ba99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#986eec",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 236
  },
  "hsl": {
    "h": 260,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63854,
    "c": 0.1831,
    "h": 296.2
  },
  "luminance": 0.23883
}

Semantic roles & 50–950 ramp

primary
#986EEC
secondary
#E1EEC7
accent
#D90C95
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #986EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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