#986DEC#986DEC

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

Color values

HEX#986DEC
RGBrgb(152, 109, 236)
HSLhsl(260, 77%, 68%)
HSVhsv(260, 54%, 93%)
CMYKcmyk(35.6%, 53.8%, 0%, 7.5%)
CIE-LABlab(55.75, 44.09, -58.35)
CIE-LCHlch(55.75, 73.14, 307.08°)
OKLaboklab(63.7% 0.0821 -0.1653)
OKLCHoklch(63.7% 0.185 296.4)
XYZxyz(33.5540, 23.6683, 82.1412)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DEC #C1EC6D
analogous
#6D81EC #986DEC #D86DEC
triadic
#986DEC #EC986D #6DEC98
tetradic
#986DEC #EC6D81 #C1EC6D #6DECD8
square
#986DEC #EC6D81 #C1EC6D #6DECD8
split-complementary
#986DEC #ECD86D #81EC6D
monochromatic
#541AC5 #7237E5 #986DEC #BEA3F3 #E4D9FA

Accessibility & contrast

On white

3.66
#986DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##986DEC#FFFFFF#000000##000000
##986DEC1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686F0
Deuteranopia (green-blind)
#4384E9
Tritanopia (blue-blind)
#8487A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #986dec;
/* rgb */ color: rgb(152, 109, 236);
/* oklch */ color: oklch(63.7% 0.185 296.4);
Tailwind
colors: {
  custom: {
    50: '#ba98f3',
    500: '#986dec',
    950: '#000000',
  },
}
SCSS
$custom: #986dec;
$custom-light: #ba98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#986dec",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 260.315,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63695,
    "c": 0.18455,
    "h": 296.4
  },
  "luminance": 0.23669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #986DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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