#986CDC#986CDC

#986CDC is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.6% C 0.166 H 299.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#986CDC
RGBrgb(152, 108, 220)
HSLhsl(264, 62%, 64%)
HSVhsv(264, 51%, 86%)
CMYKcmyk(30.9%, 50.9%, 0%, 13.7%)
CIE-LABlab(54.62, 40.60, -51.18)
CIE-LCHlch(54.62, 65.33, 308.42°)
OKLaboklab(62.56% 0.0824 -0.1443)
OKLCHoklch(62.56% 0.166 299.7)
XYZxyz(31.2267, 22.5676, 70.4071)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CDC #B0DC6C
analogous
#6C78DC #986CDC #D06CDC
triadic
#986CDC #DC986C #6CDC98
tetradic
#986CDC #DC6C78 #B0DC6C #6CDCD0
square
#986CDC #DC6C78 #B0DC6C #6CDCD0
split-complementary
#986CDC #DCD06C #78DC6C
monochromatic
#5928A6 #753BD0 #986CDC #BB9DE8 #DDCFF4

Accessibility & contrast

On white

3.81
#986CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#986CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CDC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CDC#FFFFFF#000000##000000
##986CDC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582E0
Deuteranopia (green-blind)
#5082D9
Tritanopia (blue-blind)
#8A819A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #986cdc;
/* rgb */ color: rgb(152, 108, 220);
/* oklch */ color: oklch(62.6% 0.166 299.7);
Tailwind
colors: {
  custom: {
    50: '#b997e7',
    500: '#986cdc',
    950: '#000000',
  },
}
SCSS
$custom: #986cdc;
$custom-light: #b997e7;
$custom-dark: #000000;
JSON
{
  "hex": "#986cdc",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 220
  },
  "hsl": {
    "h": 263.571,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62563,
    "c": 0.16617,
    "h": 299.7
  },
  "luminance": 0.22568
}

Semantic roles & 50–950 ramp

primary
#986CDC
secondary
#D6E5BE
accent
#C91C85
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #986CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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