#987397#987397

#987397 is a mid, moderate purple. Relative luminance 0.212; OKLCH L 60.4% C 0.069 H 327.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#987397
RGBrgb(152, 115, 151)
HSLhsl(302, 15%, 52%)
HSVhsv(302, 24%, 60%)
CMYKcmyk(0%, 24.3%, 0.7%, 40.4%)
CIE-LABlab(53.14, 20.92, -13.85)
CIE-LCHlch(53.14, 25.09, 326.49°)
OKLaboklab(60.42% 0.058 -0.0373)
OKLCHoklch(60.42% 0.069 327.3)
XYZxyz(24.6650, 21.1719, 32.0595)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987397 #739874
analogous
#877398 #987397 #987384
triadic
#987397 #979873 #739798
tetradic
#987397 #988773 #739874 #738498
square
#987397 #988773 #739874 #738498
split-complementary
#987397 #849873 #739887
monochromatic
#533D53 #775776 #987397 #B296B1 #CCBACB

Accessibility & contrast

On white

4.01
#987397 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#987397 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987397
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987397#FFFFFF#000000##000000
##9873971.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#717C98
Deuteranopia (green-blind)
#798196
Tritanopia (blue-blind)
#9B7680
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #987397;
/* rgb */ color: rgb(152, 115, 151);
/* oklch */ color: oklch(60.4% 0.069 327.3);
Tailwind
colors: {
  custom: {
    50: '#b69bb5',
    500: '#987397',
    950: '#000000',
  },
}
SCSS
$custom: #987397;
$custom-light: #b69bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#987397",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 151
  },
  "hsl": {
    "h": 301.622,
    "s": 15.226,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.06891,
    "h": 327.3
  },
  "luminance": 0.21171
}

Semantic roles & 50–950 ramp

primary
#987397
secondary
#ABBBAC
accent
#B87270
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110E11
muted
#807E80

Preview Lab

Preview with #987397

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

Preview Lab → · Contrast checker → · Palette generator →

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