#986CEF#986CEF

#986CEF is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.7% C 0.190 H 296.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#986CEF
RGBrgb(152, 108, 239)
HSLhsl(260, 80%, 68%)
HSVhsv(260, 55%, 94%)
CMYKcmyk(36.4%, 54.8%, 0%, 6.3%)
CIE-LABlab(55.72, 45.42, -60.08)
CIE-LCHlch(55.72, 75.32, 307.09°)
OKLaboklab(63.73% 0.0834 -0.1704)
OKLCHoklch(63.73% 0.19 296.1)
XYZxyz(33.8875, 23.6319, 84.4206)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CEF #C3EF6C
analogous
#6C81EF #986CEF #DA6CEF
triadic
#986CEF #EF986C #6CEF98
tetradic
#986CEF #EF6C81 #C3EF6C #6CEFDA
square
#986CEF #EF6C81 #C3EF6C #6CEFDA
split-complementary
#986CEF #EFDA6C #81EF6C
monochromatic
#5316CB #7135E9 #986CEF #BFA3F5 #E5DAFB

Accessibility & contrast

On white

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

On black

5.73
#986CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CEF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CEF#FFFFFF#000000##000000
##986CEF1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F86F3
Deuteranopia (green-blind)
#3E84EC
Tritanopia (blue-blind)
#8387A3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #986cef;
/* rgb */ color: rgb(152, 108, 239);
/* oklch */ color: oklch(63.7% 0.190 296.1);
Tailwind
colors: {
  custom: {
    50: '#bb97f5',
    500: '#986cef',
    950: '#000000',
  },
}
SCSS
$custom: #986cef;
$custom-light: #bb97f5;
$custom-dark: #000000;
JSON
{
  "hex": "#986cef",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 260.153,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63725,
    "c": 0.18969,
    "h": 296.1
  },
  "luminance": 0.23633
}

Semantic roles & 50–950 ramp

primary
#986CEF
secondary
#E2EFC7
accent
#DD0996
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #986CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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