#986CFA#986CFA

#986CFA is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.4% C 0.203 H 294.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#986CFA
RGBrgb(152, 108, 250)
HSLhsl(259, 93%, 70%)
HSVhsv(259, 57%, 98%)
CMYKcmyk(39.2%, 56.8%, 0%, 2%)
CIE-LABlab(56.39, 48.27, -65.12)
CIE-LCHlch(56.39, 81.06, 306.55°)
OKLaboklab(64.43% 0.0835 -0.1852)
OKLCHoklch(64.43% 0.203 294.3)
XYZxyz(35.5622, 24.3018, 93.2410)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CFA #CEFA6C
analogous
#6C87FA #986CFA #DF6CFA
triadic
#986CFA #FA986C #6CFA98
tetradic
#986CFA #FA6C87 #CEFA6C #6CFADF
square
#986CFA #FA6C87 #CEFA6C #6CFADF
split-complementary
#986CFA #FADF6C #87FA6C
monochromatic
#4C08E4 #6F31F8 #986CFA #C1A7FC #EAE1FE

Accessibility & contrast

On white

3.58
#986CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#986CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CFA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CFA#FFFFFF#000000##000000
##986CFA1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1989FF
Deuteranopia (green-blind)
#2D85F7
Tritanopia (blue-blind)
#7F8AA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #986cfa;
/* rgb */ color: rgb(152, 108, 250);
/* oklch */ color: oklch(64.4% 0.203 294.3);
Tailwind
colors: {
  custom: {
    50: '#bc97fd',
    500: '#986cfa',
    950: '#000000',
  },
}
SCSS
$custom: #986cfa;
$custom-light: #bc97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#986cfa",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 250
  },
  "hsl": {
    "h": 258.592,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64434,
    "c": 0.2031,
    "h": 294.3
  },
  "luminance": 0.24303
}

Semantic roles & 50–950 ramp

primary
#986CFA
secondary
#E8F5CD
accent
#E6009E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #986CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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