#986BD7#986BD7

#986BD7 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.1% C 0.161 H 301.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#986BD7
RGBrgb(152, 107, 215)
HSLhsl(265, 57%, 63%)
HSVhsv(265, 50%, 84%)
CMYKcmyk(29.3%, 50.2%, 0%, 15.7%)
CIE-LABlab(54.13, 39.92, -49.15)
CIE-LCHlch(54.13, 63.31, 309.08°)
OKLaboklab(62.11% 0.0833 -0.1383)
OKLCHoklch(62.11% 0.161 301.1)
XYZxyz(30.4695, 22.0970, 66.9367)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BD7 #AAD76B
analogous
#6B74D7 #986BD7 #CE6BD7
triadic
#986BD7 #D7986B #6BD798
tetradic
#986BD7 #D76B74 #AAD76B #6BD7CE
square
#986BD7 #D76B74 #AAD76B #6BD7CE
split-complementary
#986BD7 #D7CE6B #74D76B
monochromatic
#5A2A9D #763BCA #986BD7 #BA9BE4 #DBCBF1

Accessibility & contrast

On white

3.87
#986BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#986BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BD7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BD7#FFFFFF#000000##000000
##986BD71.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4781DB
Deuteranopia (green-blind)
#5381D4
Tritanopia (blue-blind)
#8C7F97
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986bd7;
/* rgb */ color: rgb(152, 107, 215);
/* oklch */ color: oklch(62.1% 0.161 301.1);
Tailwind
colors: {
  custom: {
    50: '#b996e4',
    500: '#986bd7',
    950: '#000000',
  },
}
SCSS
$custom: #986bd7;
$custom-light: #b996e4;
$custom-dark: #000000;
JSON
{
  "hex": "#986bd7",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 215
  },
  "hsl": {
    "h": 265,
    "s": 57.447,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62106,
    "c": 0.16148,
    "h": 301.1
  },
  "luminance": 0.22097
}

Semantic roles & 50–950 ramp

primary
#986BD7
secondary
#D2E2BC
accent
#C52080
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D15
muted
#817E84

Preview Lab

Preview with #986BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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