#986EF8#986EF8

#986EF8 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.6% C 0.198 H 294.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#986EF8
RGBrgb(152, 110, 248)
HSLhsl(258, 91%, 70%)
HSVhsv(258, 56%, 97%)
CMYKcmyk(38.7%, 55.6%, 0%, 2.7%)
CIE-LABlab(56.69, 46.65, -63.53)
CIE-LCHlch(56.69, 78.82, 306.29°)
OKLaboklab(64.61% 0.0812 -0.1805)
OKLCHoklch(64.61% 0.198 294.2)
XYZxyz(35.4636, 24.6038, 91.6693)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EF8 #CEF86E
analogous
#6E89F8 #986EF8 #DD6EF8
triadic
#986EF8 #F8986E #6EF898
tetradic
#986EF8 #F86E89 #CEF86E #6EF8DD
square
#986EF8 #F86E89 #CEF86E #6EF8DD
split-complementary
#986EF8 #F8DD6E #89F86E
monochromatic
#4C0BE1 #6F34F5 #986EF8 #C1A8FB #EAE2FE

Accessibility & contrast

On white

3.55
#986EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#986EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EF8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EF8#FFFFFF#000000##000000
##986EF81.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2689FD
Deuteranopia (green-blind)
#3586F5
Tritanopia (blue-blind)
#808BA9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #986ef8;
/* rgb */ color: rgb(152, 110, 248);
/* oklch */ color: oklch(64.6% 0.198 294.2);
Tailwind
colors: {
  custom: {
    50: '#bb99fb',
    500: '#986ef8',
    950: '#000000',
  },
}
SCSS
$custom: #986ef8;
$custom-light: #bb99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#986ef8",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 258.261,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64614,
    "c": 0.19789,
    "h": 294.2
  },
  "luminance": 0.24605
}

Semantic roles & 50–950 ramp

primary
#986EF8
secondary
#E8F4CE
accent
#E600A0
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #986EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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