#986EF2#986EF2

#986EF2 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.2% C 0.191 H 295.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#986EF2
RGBrgb(152, 110, 242)
HSLhsl(259, 84%, 69%)
HSVhsv(259, 55%, 95%)
CMYKcmyk(37.2%, 54.5%, 0%, 5.1%)
CIE-LABlab(56.32, 45.09, -60.78)
CIE-LCHlch(56.32, 75.68, 306.57°)
OKLaboklab(64.23% 0.0811 -0.1724)
OKLCHoklch(64.23% 0.191 295.2)
XYZxyz(34.5477, 24.2374, 86.8453)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EF2 #C8F26E
analogous
#6E86F2 #986EF2 #DA6EF2
triadic
#986EF2 #F2986E #6EF298
tetradic
#986EF2 #F26E86 #C8F26E #6EF2DA
square
#986EF2 #F26E86 #C8F26E #6EF2DA
split-complementary
#986EF2 #F2DA6E #86F26E
monochromatic
#5013D3 #7036ED #986EF2 #C0A6F7 #E8DEFC

Accessibility & contrast

On white

3.59
#986EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#986EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EF2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EF2#FFFFFF#000000##000000
##986EF21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F6
Deuteranopia (green-blind)
#3D85EF
Tritanopia (blue-blind)
#8289A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #986ef2;
/* rgb */ color: rgb(152, 110, 242);
/* oklch */ color: oklch(64.2% 0.191 295.2);
Tailwind
colors: {
  custom: {
    50: '#bb99f7',
    500: '#986ef2',
    950: '#000000',
  },
}
SCSS
$custom: #986ef2;
$custom-light: #bb99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#986ef2",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 259.091,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6423,
    "c": 0.19052,
    "h": 295.2
  },
  "luminance": 0.24238
}

Semantic roles & 50–950 ramp

primary
#986EF2
secondary
#E5F1CB
accent
#E0069A
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #986EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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