#985AD6#985AD6

#985AD6 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.4% C 0.186 H 304.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#985AD6
RGBrgb(152, 90, 214)
HSLhsl(270, 60%, 60%)
HSVhsv(270, 58%, 84%)
CMYKcmyk(29%, 57.9%, 0%, 16.1%)
CIE-LABlab(50.50, 48.95, -54.37)
CIE-LCHlch(50.50, 73.16, 312.00°)
OKLaboklab(59.41% 0.1051 -0.1536)
OKLCHoklch(59.41% 0.186 304.4)
XYZxyz(28.7400, 18.8429, 65.7283)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AD6 #98D65A
analogous
#5A5AD6 #985AD6 #D65AD6
triadic
#985AD6 #D6985A #5AD698
tetradic
#985AD6 #D65A5A #98D65A #5AD6D6
square
#985AD6 #D65A5A #98D65A #5AD6D6
split-complementary
#985AD6 #D6D65A #5AD65A
monochromatic
#5B2491 #7930C2 #985AD6 #B78BE2 #D5BCEE

Accessibility & contrast

On white

4.40
#985AD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#985AD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AD6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AD6#FFFFFF#000000##000000
##985AD61.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2477DA
Deuteranopia (green-blind)
#3F78D3
Tritanopia (blue-blind)
#8D728F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985ad6;
/* rgb */ color: rgb(152, 90, 214);
/* oklch */ color: oklch(59.4% 0.186 304.4);
Tailwind
colors: {
  custom: {
    50: '#ba8be3',
    500: '#985ad6',
    950: '#000000',
  },
}
SCSS
$custom: #985ad6;
$custom-light: #ba8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#985ad6",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 214
  },
  "hsl": {
    "h": 270,
    "s": 60.194,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59412,
    "c": 0.18611,
    "h": 304.4
  },
  "luminance": 0.18843
}

Semantic roles & 50–950 ramp

primary
#985AD6
secondary
#C6DEAE
accent
#E34494
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C15
muted
#817D84

Preview Lab

Preview with #985AD6

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

Preview Lab → · Contrast checker → · Palette generator →

#985AD6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva