#986DB8#986DB8

#986DB8 is a mid, moderate violet. Relative luminance 0.211; OKLCH L 60.8% C 0.119 H 309.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#986DB8
RGBrgb(152, 109, 184)
HSLhsl(274, 35%, 57%)
HSVhsv(274, 41%, 72%)
CMYKcmyk(17.4%, 40.8%, 0%, 27.8%)
CIE-LABlab(53.03, 31.41, -33.18)
CIE-LCHlch(53.03, 45.69, 313.44°)
OKLaboklab(60.78% 0.0761 -0.0919)
OKLCHoklch(60.78% 0.119 309.6)
XYZxyz(27.0677, 21.0737, 47.9798)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DB8 #8DB86D
analogous
#736DB8 #986DB8 #B86DB2
triadic
#986DB8 #B8986D #6DB898
tetradic
#986DB8 #B8736D #8DB86D #6DB2B8
square
#986DB8 #B8736D #8DB86D #6DB2B8
split-complementary
#986DB8 #B2B86D #6DB873
monochromatic
#5A3873 #7A4C9C #986DB8 #B596CC #D2BFE0

Accessibility & contrast

On white

4.03
#986DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#986DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DB8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DB8#FFFFFF#000000##000000
##986DB81.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBB
Deuteranopia (green-blind)
#687FB6
Tritanopia (blue-blind)
#94788A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #986db8;
/* rgb */ color: rgb(152, 109, 184);
/* oklch */ color: oklch(60.8% 0.119 309.6);
Tailwind
colors: {
  custom: {
    50: '#b797cd',
    500: '#986db8',
    950: '#000000',
  },
}
SCSS
$custom: #986db8;
$custom-light: #b797cd;
$custom-dark: #000000;
JSON
{
  "hex": "#986db8",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 184
  },
  "hsl": {
    "h": 274.4,
    "s": 34.562,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60776,
    "c": 0.11933,
    "h": 309.6
  },
  "luminance": 0.21073
}

Semantic roles & 50–950 ramp

primary
#986DB8
secondary
#BED0B1
accent
#CB5D8C
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D13
muted
#807E82

Preview Lab

Preview with #986DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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