#985AB7#985AB7

#985AB7 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.6% C 0.151 H 313.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#985AB7
RGBrgb(152, 90, 183)
HSLhsl(280, 39%, 54%)
HSVhsv(280, 51%, 72%)
CMYKcmyk(16.9%, 50.8%, 0%, 28.2%)
CIE-LABlab(48.77, 41.83, -39.29)
CIE-LCHlch(48.77, 57.39, 316.79°)
OKLaboklab(57.58% 0.1034 -0.1095)
OKLCHoklch(57.58% 0.151 313.3)
XYZxyz(25.1509, 17.4072, 46.8256)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AB7 #79B75A
analogous
#695AB7 #985AB7 #B75AA7
triadic
#985AB7 #B7985A #5AB798
tetradic
#985AB7 #B7695A #79B75A #5AA7B7
square
#985AB7 #B7695A #79B75A #5AA7B7
split-complementary
#985AB7 #A7B75A #5AB769
monochromatic
#552E69 #784093 #985AB7 #B385CA #CDAFDC

Accessibility & contrast

On white

4.69
#985AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#985AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985AB7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AB7#FFFFFF#000000##FFFFFF
##985AB71.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4470BA
Deuteranopia (green-blind)
#5775B5
Tritanopia (blue-blind)
#956980
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985ab7;
/* rgb */ color: rgb(152, 90, 183);
/* oklch */ color: oklch(57.6% 0.151 313.3);
Tailwind
colors: {
  custom: {
    50: '#b88bcd',
    500: '#985ab7',
    950: '#000000',
  },
}
SCSS
$custom: #985ab7;
$custom-light: #b88bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#985ab7",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 183
  },
  "hsl": {
    "h": 280,
    "s": 39.241,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57576,
    "c": 0.15063,
    "h": 313.3
  },
  "luminance": 0.17407
}

Semantic roles & 50–950 ramp

primary
#985AB7
secondary
#B0CAA2
accent
#CF5980
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #985AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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