#986CE4#986CE4

#986CE4 is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.0% C 0.176 H 298.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#986CE4
RGBrgb(152, 108, 228)
HSLhsl(262, 69%, 66%)
HSVhsv(262, 53%, 89%)
CMYKcmyk(33.3%, 52.6%, 0%, 10.6%)
CIE-LABlab(55.07, 42.61, -54.96)
CIE-LCHlch(55.07, 69.54, 307.78°)
OKLaboklab(63.04% 0.083 -0.1553)
OKLCHoklch(63.04% 0.176 298.1)
XYZxyz(32.3116, 23.0016, 76.1212)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CE4 #B8E46C
analogous
#6C7CE4 #986CE4 #D46CE4
triadic
#986CE4 #E4986C #6CE498
tetradic
#986CE4 #E46C7C #B8E46C #6CE4D4
square
#986CE4 #E46C7C #B8E46C #6CE4D4
split-complementary
#986CE4 #E4D46C #7CE46C
monochromatic
#5721B4 #7438DB #986CE4 #BCA0ED #E0D3F7

Accessibility & contrast

On white

3.75
#986CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#986CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CE4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CE4#FFFFFF#000000##000000
##986CE41.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D84E8
Deuteranopia (green-blind)
#4983E1
Tritanopia (blue-blind)
#87849E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #986ce4;
/* rgb */ color: rgb(152, 108, 228);
/* oklch */ color: oklch(63.0% 0.176 298.1);
Tailwind
colors: {
  custom: {
    50: '#ba97ed',
    500: '#986ce4',
    950: '#000000',
  },
}
SCSS
$custom: #986ce4;
$custom-light: #ba97ed;
$custom-dark: #000000;
JSON
{
  "hex": "#986ce4",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 228
  },
  "hsl": {
    "h": 262,
    "s": 68.966,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63042,
    "c": 0.17611,
    "h": 298.1
  },
  "luminance": 0.23002
}

Semantic roles & 50–950 ramp

primary
#986CE4
secondary
#DBEAC2
accent
#D1158C
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #986CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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