#986FF2#986FF2

#986FF2 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.4% C 0.189 H 295.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#986FF2
RGBrgb(152, 111, 242)
HSLhsl(259, 83%, 69%)
HSVhsv(259, 54%, 95%)
CMYKcmyk(37.2%, 54.1%, 0%, 5.1%)
CIE-LABlab(56.54, 44.53, -60.43)
CIE-LCHlch(56.54, 75.07, 306.39°)
OKLaboklab(64.39% 0.0799 -0.1714)
OKLCHoklch(64.39% 0.189 295)
XYZxyz(34.6562, 24.4544, 86.8814)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FF2 #C9F26F
analogous
#6F88F2 #986FF2 #DA6FF2
triadic
#986FF2 #F2986F #6FF298
tetradic
#986FF2 #F26F88 #C9F26F #6FF2DA
square
#986FF2 #F26F88 #C9F26F #6FF2DA
split-complementary
#986FF2 #F2DA6F #88F26F
monochromatic
#4F13D4 #7037ED #986FF2 #C0A7F7 #E8DFFC

Accessibility & contrast

On white

3.56
#986FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#986FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FF2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FF2#FFFFFF#000000##000000
##986FF21.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3389F6
Deuteranopia (green-blind)
#3F86EF
Tritanopia (blue-blind)
#828AA6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #986ff2;
/* rgb */ color: rgb(152, 111, 242);
/* oklch */ color: oklch(64.4% 0.189 295.0);
Tailwind
colors: {
  custom: {
    50: '#bb99f7',
    500: '#986ff2',
    950: '#000000',
  },
}
SCSS
$custom: #986ff2;
$custom-light: #bb99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#986ff2",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 258.779,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64389,
    "c": 0.18909,
    "h": 295
  },
  "luminance": 0.24455
}

Semantic roles & 50–950 ramp

primary
#986FF2
secondary
#E6F1CB
accent
#E0069C
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #986FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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