#985AB2#985AB2

#985AB2 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.3% C 0.145 H 315.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#985AB2
RGBrgb(152, 90, 178)
HSLhsl(282, 36%, 53%)
HSVhsv(282, 49%, 70%)
CMYKcmyk(14.6%, 49.4%, 0%, 30.2%)
CIE-LABlab(48.51, 40.73, -36.78)
CIE-LCHlch(48.51, 54.88, 317.92°)
OKLaboklab(57.3% 0.1028 -0.1022)
OKLCHoklch(57.3% 0.145 315.2)
XYZxyz(24.6397, 17.2028, 44.1334)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AB2 #74B25A
analogous
#6C5AB2 #985AB2 #B25AA0
triadic
#985AB2 #B2985A #5AB298
tetradic
#985AB2 #B26C5A #74B25A #5AA0B2
square
#985AB2 #B26C5A #74B25A #5AA0B2
split-complementary
#985AB2 #A0B25A #5AB26C
monochromatic
#542E63 #77428D #985AB2 #B284C5 #CCADD9

Accessibility & contrast

On white

4.73
#985AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#985AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985AB2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AB2#FFFFFF#000000##FFFFFF
##985AB21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#5A75B0
Tritanopia (blue-blind)
#96677E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #985ab2;
/* rgb */ color: rgb(152, 90, 178);
/* oklch */ color: oklch(57.3% 0.145 315.2);
Tailwind
colors: {
  custom: {
    50: '#b88bc9',
    500: '#985ab2',
    950: '#000000',
  },
}
SCSS
$custom: #985ab2;
$custom-light: #b88bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#985ab2",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 282.273,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57304,
    "c": 0.14499,
    "h": 315.2
  },
  "luminance": 0.17202
}

Semantic roles & 50–950 ramp

primary
#985AB2
secondary
#ACC7A1
accent
#CC5B7D
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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