#986ECF#986ECF

#986ECF is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.2% C 0.147 H 302.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#986ECF
RGBrgb(152, 110, 207)
HSLhsl(266, 50%, 62%)
HSVhsv(266, 47%, 81%)
CMYKcmyk(26.6%, 46.9%, 0%, 18.8%)
CIE-LABlab(54.38, 36.26, -44.22)
CIE-LCHlch(54.38, 57.19, 309.36°)
OKLaboklab(62.15% 0.0784 -0.1239)
OKLCHoklch(62.15% 0.147 302.3)
XYZxyz(29.7848, 22.3322, 61.7608)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986ECF #A5CF6E
analogous
#6E75CF #986ECF #C86ECF
triadic
#986ECF #CF986E #6ECF98
tetradic
#986ECF #CF6E75 #A5CF6E #6ECFC8
square
#986ECF #CF6E75 #A5CF6E #6ECFC8
split-complementary
#986ECF #CFC86E #75CF6E
monochromatic
#5B3092 #7740C0 #986ECF #B99CDE #D9CAED

Accessibility & contrast

On white

3.84
#986ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#986ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986ECF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986ECF#FFFFFF#000000##000000
##986ECF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#5C82CD
Tritanopia (blue-blind)
#8E7F95
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #986ecf;
/* rgb */ color: rgb(152, 110, 207);
/* oklch */ color: oklch(62.2% 0.147 302.3);
Tailwind
colors: {
  custom: {
    50: '#b898de',
    500: '#986ecf',
    950: '#000000',
  },
}
SCSS
$custom: #986ecf;
$custom-light: #b898de;
$custom-dark: #000000;
JSON
{
  "hex": "#986ecf",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 207
  },
  "hsl": {
    "h": 265.979,
    "s": 50.259,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62154,
    "c": 0.14666,
    "h": 302.3
  },
  "luminance": 0.22332
}

Semantic roles & 50–950 ramp

primary
#986ECF
secondary
#CFDEBB
accent
#BE287D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #986ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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