#986DE7#986DE7

#986DE7 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.4% C 0.178 H 297.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#986DE7
RGBrgb(152, 109, 231)
HSLhsl(261, 72%, 67%)
HSVhsv(261, 53%, 91%)
CMYKcmyk(34.2%, 52.8%, 0%, 9.4%)
CIE-LABlab(55.46, 42.81, -56.02)
CIE-LCHlch(55.46, 70.51, 307.39°)
OKLaboklab(63.39% 0.0819 -0.1585)
OKLCHoklch(63.39% 0.178 297.3)
XYZxyz(32.8377, 23.3818, 78.3689)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DE7 #BCE76D
analogous
#6D7FE7 #986DE7 #D56DE7
triadic
#986DE7 #E7986D #6DE798
tetradic
#986DE7 #E76D7F #BCE76D #6DE7D5
square
#986DE7 #E76D7F #BCE76D #6DE7D5
split-complementary
#986DE7 #E7D56D #7FE76D
monochromatic
#561FBB #7338DE #986DE7 #BDA2F0 #E2D6F8

Accessibility & contrast

On white

3.70
#986DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#986DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DE7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DE7#FFFFFF#000000##000000
##986DE71.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C85EB
Deuteranopia (green-blind)
#4883E4
Tritanopia (blue-blind)
#8685A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #986de7;
/* rgb */ color: rgb(152, 109, 231);
/* oklch */ color: oklch(63.4% 0.178 297.3);
Tailwind
colors: {
  custom: {
    50: '#ba98ef',
    500: '#986de7',
    950: '#000000',
  },
}
SCSS
$custom: #986de7;
$custom-light: #ba98ef;
$custom-dark: #000000;
JSON
{
  "hex": "#986de7",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 231
  },
  "hsl": {
    "h": 261.148,
    "s": 71.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63386,
    "c": 0.17836,
    "h": 297.3
  },
  "luminance": 0.23382
}

Semantic roles & 50–950 ramp

primary
#986DE7
secondary
#DEECC4
accent
#D4128F
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #986DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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