#986DDD#986DDD

#986DDD is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.166 H 299.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#986DDD
RGBrgb(152, 109, 221)
HSLhsl(263, 62%, 65%)
HSVhsv(263, 51%, 87%)
CMYKcmyk(31.2%, 50.7%, 0%, 13.3%)
CIE-LABlab(54.90, 40.29, -51.31)
CIE-LCHlch(54.90, 65.23, 308.14°)
OKLaboklab(62.79% 0.0812 -0.1446)
OKLCHoklch(62.79% 0.166 299.3)
XYZxyz(31.4656, 22.8329, 71.1420)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DDD #B2DD6D
analogous
#6D7ADD #986DDD #D06DDD
triadic
#986DDD #DD986D #6DDD98
tetradic
#986DDD #DD6D7A #B2DD6D #6DDDD0
square
#986DDD #DD6D7A #B2DD6D #6DDDD0
split-complementary
#986DDD #DDD06D #7ADD6D
monochromatic
#5927A8 #753BD1 #986DDD #BB9FE9 #DED0F4

Accessibility & contrast

On white

3.77
#986DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#986DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DDD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DDD#FFFFFF#000000##000000
##986DDD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E1
Deuteranopia (green-blind)
#5182DA
Tritanopia (blue-blind)
#8A829B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #986ddd;
/* rgb */ color: rgb(152, 109, 221);
/* oklch */ color: oklch(62.8% 0.166 299.3);
Tailwind
colors: {
  custom: {
    50: '#b998e8',
    500: '#986ddd',
    950: '#000000',
  },
}
SCSS
$custom: #986ddd;
$custom-light: #b998e8;
$custom-dark: #000000;
JSON
{
  "hex": "#986ddd",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 221
  },
  "hsl": {
    "h": 263.036,
    "s": 62.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62785,
    "c": 0.16588,
    "h": 299.3
  },
  "luminance": 0.22833
}

Semantic roles & 50–950 ramp

primary
#986DDD
secondary
#D7E6C0
accent
#CA1C87
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #986DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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