#986CD7#986CD7

#986CD7 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.3% C 0.160 H 300.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#986CD7
RGBrgb(152, 108, 215)
HSLhsl(265, 57%, 63%)
HSVhsv(265, 50%, 84%)
CMYKcmyk(29.3%, 49.8%, 0%, 15.7%)
CIE-LABlab(54.35, 39.35, -48.79)
CIE-LCHlch(54.35, 62.69, 308.89°)
OKLaboklab(62.27% 0.082 -0.1373)
OKLCHoklch(62.27% 0.16 300.8)
XYZxyz(30.5744, 22.3067, 66.9717)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CD7 #ABD76C
analogous
#6C75D7 #986CD7 #CD6CD7
triadic
#986CD7 #D7986C #6CD798
tetradic
#986CD7 #D76C75 #ABD76C #6CD7CD
square
#986CD7 #D76C75 #ABD76C #6CD7CD
split-complementary
#986CD7 #D7CD6C #75D76C
monochromatic
#5A2B9E #763CCA #986CD7 #BA9CE4 #DBCCF1

Accessibility & contrast

On white

3.85
#986CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#986CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CD7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CD7#FFFFFF#000000##000000
##986CD71.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4981DB
Deuteranopia (green-blind)
#5481D4
Tritanopia (blue-blind)
#8C8097
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #986cd7;
/* rgb */ color: rgb(152, 108, 215);
/* oklch */ color: oklch(62.3% 0.160 300.8);
Tailwind
colors: {
  custom: {
    50: '#b997e4',
    500: '#986cd7',
    950: '#000000',
  },
}
SCSS
$custom: #986cd7;
$custom-light: #b997e4;
$custom-dark: #000000;
JSON
{
  "hex": "#986cd7",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 264.673,
    "s": 57.219,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62271,
    "c": 0.15991,
    "h": 300.8
  },
  "luminance": 0.22307
}

Semantic roles & 50–950 ramp

primary
#986CD7
secondary
#D3E2BC
accent
#C52181
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D15
muted
#817E84

Preview Lab

Preview with #986CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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