#986BE5#986BE5

#986BE5 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.9% C 0.179 H 298.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#986BE5
RGBrgb(152, 107, 229)
HSLhsl(262, 70%, 66%)
HSVhsv(262, 53%, 90%)
CMYKcmyk(33.6%, 53.3%, 0%, 10.2%)
CIE-LABlab(54.91, 43.42, -55.78)
CIE-LCHlch(54.91, 70.68, 307.90°)
OKLaboklab(62.94% 0.0843 -0.1577)
OKLCHoklch(62.94% 0.179 298.1)
XYZxyz(32.3460, 22.8476, 76.8194)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BE5 #B8E56B
analogous
#6B7BE5 #986BE5 #D56BE5
triadic
#986BE5 #E5986B #6BE598
tetradic
#986BE5 #E56B7B #B8E56B #6BE5D5
square
#986BE5 #E56B7B #B8E56B #6BE5D5
split-complementary
#986BE5 #E5D56B #7BE56B
monochromatic
#5720B6 #7437DC #986BE5 #BC9FEE #E0D3F7

Accessibility & contrast

On white

3.77
#986BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#986BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BE5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BE5#FFFFFF#000000##000000
##986BE51.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A84E9
Deuteranopia (green-blind)
#4782E2
Tritanopia (blue-blind)
#87839E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #986be5;
/* rgb */ color: rgb(152, 107, 229);
/* oklch */ color: oklch(62.9% 0.179 298.1);
Tailwind
colors: {
  custom: {
    50: '#ba96ee',
    500: '#986be5',
    950: '#000000',
  },
}
SCSS
$custom: #986be5;
$custom-light: #ba96ee;
$custom-dark: #000000;
JSON
{
  "hex": "#986be5",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 229
  },
  "hsl": {
    "h": 262.131,
    "s": 70.115,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62943,
    "c": 0.17883,
    "h": 298.1
  },
  "luminance": 0.22848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #986BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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