#986FD7#986FD7

#986FD7 is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.8% C 0.155 H 300.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#986FD7
RGBrgb(152, 111, 215)
HSLhsl(264, 57%, 64%)
HSVhsv(264, 48%, 84%)
CMYKcmyk(29.3%, 48.4%, 0%, 15.7%)
CIE-LABlab(55.02, 37.66, -47.73)
CIE-LCHlch(55.02, 60.80, 308.28°)
OKLaboklab(62.77% 0.078 -0.1342)
OKLCHoklch(62.77% 0.155 300.2)
XYZxyz(30.8962, 22.9504, 67.0789)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FD7 #AED76F
analogous
#6F7AD7 #986FD7 #CC6FD7
triadic
#986FD7 #D7986F #6FD798
tetradic
#986FD7 #D76F7A #AED76F #6FD7CC
square
#986FD7 #D76F7A #AED76F #6FD7CC
split-complementary
#986FD7 #D7CC6F #7AD76F
monochromatic
#5A2C9F #763FCA #986FD7 #BA9FE4 #DDCFF2

Accessibility & contrast

On white

3.76
#986FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#986FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FD7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FD7#FFFFFF#000000##000000
##986FD71.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E83DB
Deuteranopia (green-blind)
#5883D4
Tritanopia (blue-blind)
#8C8299
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #986fd7;
/* rgb */ color: rgb(152, 111, 215);
/* oklch */ color: oklch(62.8% 0.155 300.2);
Tailwind
colors: {
  custom: {
    50: '#b999e4',
    500: '#986fd7',
    950: '#000000',
  },
}
SCSS
$custom: #986fd7;
$custom-light: #b999e4;
$custom-dark: #000000;
JSON
{
  "hex": "#986fd7",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 215
  },
  "hsl": {
    "h": 263.654,
    "s": 56.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62771,
    "c": 0.1552,
    "h": 300.2
  },
  "luminance": 0.22951
}

Semantic roles & 50–950 ramp

primary
#986FD7
secondary
#D5E3BF
accent
#C42184
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120E15
muted
#817E84

Preview Lab

Preview with #986FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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