#985AB5#985AB5

#985AB5 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.5% C 0.148 H 314.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#985AB5
RGBrgb(152, 90, 181)
HSLhsl(281, 38%, 53%)
HSVhsv(281, 50%, 71%)
CMYKcmyk(16%, 50.3%, 0%, 29%)
CIE-LABlab(48.67, 41.39, -38.29)
CIE-LCHlch(48.67, 56.38, 317.22°)
OKLaboklab(57.47% 0.1032 -0.1066)
OKLCHoklch(57.47% 0.148 314.1)
XYZxyz(24.9442, 17.3246, 45.7371)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AB5 #77B55A
analogous
#6A5AB5 #985AB5 #B55AA4
triadic
#985AB5 #B5985A #5AB598
tetradic
#985AB5 #B56A5A #77B55A #5AA4B5
square
#985AB5 #B56A5A #77B55A #5AA4B5
split-complementary
#985AB5 #A4B55A #5AB56A
monochromatic
#552E67 #774191 #985AB5 #B284C8 #CDAFDB

Accessibility & contrast

On white

4.70
#985AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#985AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985AB5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AB5#FFFFFF#000000##FFFFFF
##985AB51.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4670B8
Deuteranopia (green-blind)
#5875B3
Tritanopia (blue-blind)
#96687F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985ab5;
/* rgb */ color: rgb(152, 90, 181);
/* oklch */ color: oklch(57.5% 0.148 314.1);
Tailwind
colors: {
  custom: {
    50: '#b88bcb',
    500: '#985ab5',
    950: '#000000',
  },
}
SCSS
$custom: #985ab5;
$custom-light: #b88bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#985ab5",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 181
  },
  "hsl": {
    "h": 280.879,
    "s": 38.075,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57466,
    "c": 0.14837,
    "h": 314.1
  },
  "luminance": 0.17324
}

Semantic roles & 50–950 ramp

primary
#985AB5
secondary
#AEC9A2
accent
#CE5A7F
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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