#986DFA#986DFA

#986DFA is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 64.6% C 0.202 H 294.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#986DFA
RGBrgb(152, 109, 250)
HSLhsl(258, 93%, 70%)
HSVhsv(258, 56%, 98%)
CMYKcmyk(39.2%, 56.4%, 0%, 2%)
CIE-LABlab(56.60, 47.72, -64.78)
CIE-LCHlch(56.60, 80.46, 306.38°)
OKLaboklab(64.59% 0.0823 -0.1842)
OKLCHoklch(64.59% 0.202 294.1)
XYZxyz(35.6683, 24.5140, 93.2764)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DFA #CFFA6D
analogous
#6D88FA #986DFA #DE6DFA
triadic
#986DFA #FA986D #6DFA98
tetradic
#986DFA #FA6D88 #CFFA6D #6DFADE
square
#986DFA #FA6D88 #CFFA6D #6DFADE
split-complementary
#986DFA #FADE6D #88FA6D
monochromatic
#4B08E5 #6E32F8 #986DFA #C2A8FC #EAE1FE

Accessibility & contrast

On white

3.56
#986DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#986DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DFA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DFA#FFFFFF#000000##000000
##986DFA1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E89FF
Deuteranopia (green-blind)
#3085F7
Tritanopia (blue-blind)
#7F8BA9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #986dfa;
/* rgb */ color: rgb(152, 109, 250);
/* oklch */ color: oklch(64.6% 0.202 294.1);
Tailwind
colors: {
  custom: {
    50: '#bc98fd',
    500: '#986dfa',
    950: '#000000',
  },
}
SCSS
$custom: #986dfa;
$custom-light: #bc98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#986dfa",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 258.298,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64588,
    "c": 0.20172,
    "h": 294.1
  },
  "luminance": 0.24515
}

Semantic roles & 50–950 ramp

primary
#986DFA
secondary
#E9F5CE
accent
#E600A0
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #986DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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