#986AFB#986AFB

#986AFB is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.2% C 0.207 H 294.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#986AFB
RGBrgb(152, 106, 251)
HSLhsl(259, 95%, 70%)
HSVhsv(259, 58%, 98%)
CMYKcmyk(39.4%, 57.8%, 0%, 1.6%)
CIE-LABlab(56.04, 49.62, -66.24)
CIE-LCHlch(56.04, 82.76, 306.84°)
OKLaboklab(64.2% 0.0857 -0.1885)
OKLCHoklch(64.2% 0.207 294.5)
XYZxyz(35.5109, 23.9477, 93.9995)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986AFB #CDFB6A
analogous
#6A85FB #986AFB #E06AFB
triadic
#986AFB #FB986A #6AFB98
tetradic
#986AFB #FB6A85 #CDFB6A #6AFBE0
square
#986AFB #FB6A85 #CDFB6A #6AFBE0
split-complementary
#986AFB #FBE06A #85FB6A
monochromatic
#4D06E4 #6F2EF9 #986AFB #C1A6FD #EAE1FE

Accessibility & contrast

On white

3.63
#986AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#986AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986AFB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986AFB#FFFFFF#000000##000000
##986AFB1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0688FF
Deuteranopia (green-blind)
#2684F8
Tritanopia (blue-blind)
#7F89A9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #986afb;
/* rgb */ color: rgb(152, 106, 251);
/* oklch */ color: oklch(64.2% 0.207 294.5);
Tailwind
colors: {
  custom: {
    50: '#bc96fd',
    500: '#986afb',
    950: '#000000',
  },
}
SCSS
$custom: #986afb;
$custom-light: #bc96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#986afb",
  "rgb": {
    "r": 152,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 259.034,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.64195,
    "c": 0.20705,
    "h": 294.5
  },
  "luminance": 0.23949
}

Semantic roles & 50–950 ramp

primary
#986AFB
secondary
#E8F5CC
accent
#E6009D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #986AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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