#986AF7#986AF7

#986AF7 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 63.9% C 0.202 H 295.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#986AF7
RGBrgb(152, 106, 247)
HSLhsl(260, 90%, 69%)
HSVhsv(260, 57%, 97%)
CMYKcmyk(38.5%, 57.1%, 0%, 3.1%)
CIE-LABlab(55.78, 48.58, -64.43)
CIE-LCHlch(55.78, 80.69, 307.02°)
OKLaboklab(63.93% 0.0858 -0.1831)
OKLCHoklch(63.93% 0.202 295.1)
XYZxyz(34.8870, 23.6981, 90.7138)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986AF7 #C9F76A
analogous
#6A83F7 #986AF7 #DE6AF7
triadic
#986AF7 #F7986A #6AF798
tetradic
#986AF7 #F76A83 #C9F76A #6AF7DE
square
#986AF7 #F76A83 #C9F76A #6AF7DE
split-complementary
#986AF7 #F7DE6A #83F76A
monochromatic
#4F0CDB #7030F4 #986AF7 #C0A4FA #E8DEFD

Accessibility & contrast

On white

3.66
#986AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#986AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986AF7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986AF7#FFFFFF#000000##000000
##986AF71.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1887FC
Deuteranopia (green-blind)
#2E84F4
Tritanopia (blue-blind)
#8088A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #986af7;
/* rgb */ color: rgb(152, 106, 247);
/* oklch */ color: oklch(63.9% 0.202 295.1);
Tailwind
colors: {
  custom: {
    50: '#bc96fb',
    500: '#986af7',
    950: '#000000',
  },
}
SCSS
$custom: #986af7;
$custom-light: #bc96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#986af7",
  "rgb": {
    "r": 152,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 259.574,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6393,
    "c": 0.20223,
    "h": 295.1
  },
  "luminance": 0.23699
}

Semantic roles & 50–950 ramp

primary
#986AF7
secondary
#E6F3CA
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #986AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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