#986EFB#986EFB

#986EFB is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 64.8% C 0.202 H 293.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#986EFB
RGBrgb(152, 110, 251)
HSLhsl(258, 95%, 71%)
HSVhsv(258, 56%, 98%)
CMYKcmyk(39.4%, 56.2%, 0%, 1.6%)
CIE-LABlab(56.87, 47.44, -64.89)
CIE-LCHlch(56.87, 80.38, 306.17°)
OKLaboklab(64.81% 0.0812 -0.1845)
OKLCHoklch(64.81% 0.202 293.7)
XYZxyz(35.9328, 24.7914, 94.1401)
Luminance0.2479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EFB #D1FB6E
analogous
#6E8AFB #986EFB #DE6EFB
triadic
#986EFB #FB986E #6EFB98
tetradic
#986EFB #FB6E8A #D1FB6E #6EFBDE
square
#986EFB #FB6E8A #D1FB6E #6EFBDE
split-complementary
#986EFB #FBDE6E #8AFB6E
monochromatic
#4A06E8 #6E32F9 #986EFB #C2AAFD #EAE1FE

Accessibility & contrast

On white

3.52
#986EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#986EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EFB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EFB#FFFFFF#000000##000000
##986EFB1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#208AFF
Deuteranopia (green-blind)
#3086F8
Tritanopia (blue-blind)
#7E8CAA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #986efb;
/* rgb */ color: rgb(152, 110, 251);
/* oklch */ color: oklch(64.8% 0.202 293.7);
Tailwind
colors: {
  custom: {
    50: '#bc99fd',
    500: '#986efb',
    950: '#000000',
  },
}
SCSS
$custom: #986efb;
$custom-light: #bc99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#986efb",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 257.872,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64809,
    "c": 0.20157,
    "h": 293.7
  },
  "luminance": 0.24792
}

Semantic roles & 50–950 ramp

primary
#986EFB
secondary
#EAF5CF
accent
#E600A1
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #986EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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