#986DDF#986DDF

#986DDF is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.9% C 0.168 H 298.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#986DDF
RGBrgb(152, 109, 223)
HSLhsl(263, 64%, 65%)
HSVhsv(263, 51%, 87%)
CMYKcmyk(31.8%, 51.1%, 0%, 12.5%)
CIE-LABlab(55.01, 40.79, -52.26)
CIE-LCHlch(55.01, 66.29, 307.97°)
OKLaboklab(62.9% 0.0814 -0.1474)
OKLCHoklch(62.9% 0.168 298.9)
XYZxyz(31.7336, 22.9401, 72.5537)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DDF #B4DF6D
analogous
#6D7BDF #986DDF #D16DDF
triadic
#986DDF #DF986D #6DDF98
tetradic
#986DDF #DF6D7B #B4DF6D #6DDFD1
square
#986DDF #DF6D7B #B4DF6D #6DDFD1
split-complementary
#986DDF #DFD16D #7BDF6D
monochromatic
#5826AC #753BD4 #986DDF #BB9FEA #DFD1F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##986DDF#FFFFFF#000000##000000
##986DDF1.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)
#4484E3
Deuteranopia (green-blind)
#4F83DC
Tritanopia (blue-blind)
#89839C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #986ddf;
/* rgb */ color: rgb(152, 109, 223);
/* oklch */ color: oklch(62.9% 0.168 298.9);
Tailwind
colors: {
  custom: {
    50: '#ba98e9',
    500: '#986ddf',
    950: '#000000',
  },
}
SCSS
$custom: #986ddf;
$custom-light: #ba98e9;
$custom-dark: #000000;
JSON
{
  "hex": "#986ddf",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 223
  },
  "hsl": {
    "h": 262.632,
    "s": 64.045,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62904,
    "c": 0.16838,
    "h": 298.9
  },
  "luminance": 0.2294
}

Semantic roles & 50–950 ramp

primary
#986DDF
secondary
#D9E7C1
accent
#CC1A89
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #986DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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