#985AAA#985AAA

#985AAA is a mid, vivid purple. Relative luminance 0.169; OKLCH L 56.9% C 0.136 H 318.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#985AAA
RGBrgb(152, 90, 170)
HSLhsl(287, 32%, 51%)
HSVhsv(287, 47%, 67%)
CMYKcmyk(10.6%, 47.1%, 0%, 33.3%)
CIE-LABlab(48.12, 39.02, -32.72)
CIE-LCHlch(48.12, 50.92, 320.03°)
OKLaboklab(56.88% 0.1016 -0.0905)
OKLCHoklch(56.88% 0.136 318.3)
XYZxyz(23.8598, 16.8908, 40.0258)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AAA #6CAA5A
analogous
#705AAA #985AAA #AA5A94
triadic
#985AAA #AA985A #5AAA98
tetradic
#985AAA #AA705A #6CAA5A #5A94AA
square
#985AAA #AA705A #6CAA5A #5A94AA
split-complementary
#985AAA #94AA5A #5AAA70
monochromatic
#512F5B #754483 #985AAA #B182BF #CAABD4

Accessibility & contrast

On white

4.80
#985AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#985AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985AAA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AAA#FFFFFF#000000##FFFFFF
##985AAA1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAD
Deuteranopia (green-blind)
#5E74A8
Tritanopia (blue-blind)
#98657A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #985aaa;
/* rgb */ color: rgb(152, 90, 170);
/* oklch */ color: oklch(56.9% 0.136 318.3);
Tailwind
colors: {
  custom: {
    50: '#b88ac3',
    500: '#985aaa',
    950: '#000000',
  },
}
SCSS
$custom: #985aaa;
$custom-light: #b88ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#985aaa",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 286.5,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56884,
    "c": 0.13608,
    "h": 318.3
  },
  "luminance": 0.1689
}

Semantic roles & 50–950 ramp

primary
#985AAA
secondary
#A6C29E
accent
#C86077
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #985AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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