#985997#985997

#985997 is a mid, moderate purple. Relative luminance 0.161; OKLCH L 55.8% C 0.118 H 327.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#985997
RGBrgb(152, 89, 151)
HSLhsl(301, 26%, 47%)
HSVhsv(301, 41%, 60%)
CMYKcmyk(0%, 41.4%, 0.7%, 40.4%)
CIE-LABlab(47.05, 35.74, -23.16)
CIE-LCHlch(47.05, 42.58, 327.05°)
OKLaboklab(55.8% 0.0994 -0.0631)
OKLCHoklch(55.8% 0.118 327.6)
XYZxyz(22.1068, 16.0556, 31.2067)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985997 #59985A
analogous
#795998 #985997 #985978
triadic
#985997 #979859 #599798
tetradic
#985997 #987959 #59985A #597898
square
#985997 #987959 #59985A #597898
split-complementary
#985997 #789859 #599879
monochromatic
#4B2C4A #714271 #985997 #B27CB1 #C9A3C8

Accessibility & contrast

On white

4.99
#985997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#985997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985997
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985997#FFFFFF#000000##FFFFFF
##9859971.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546A99
Deuteranopia (green-blind)
#657295
Tritanopia (blue-blind)
#9C5F71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #985997;
/* rgb */ color: rgb(152, 89, 151);
/* oklch */ color: oklch(55.8% 0.118 327.6);
Tailwind
colors: {
  custom: {
    50: '#b889b5',
    500: '#985997',
    950: '#000000',
  },
}
SCSS
$custom: #985997;
$custom-light: #b889b5;
$custom-dark: #000000;
JSON
{
  "hex": "#985997",
  "rgb": {
    "r": 152,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 300.952,
    "s": 26.141,
    "l": 47.255
  },
  "oklch": {
    "l": 0.558,
    "c": 0.11776,
    "h": 327.6
  },
  "luminance": 0.16055
}

Semantic roles & 50–950 ramp

primary
#985997
secondary
#96B797
accent
#C36765
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C11
muted
#807D80

Preview Lab

Preview with #985997

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

Preview Lab → · Contrast checker → · Palette generator →

#985997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva