#987399#987399

#987399 is a mid, moderate purple. Relative luminance 0.212; OKLCH L 60.5% C 0.071 H 325.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#987399
RGBrgb(152, 115, 153)
HSLhsl(298, 16%, 53%)
HSVhsv(298, 25%, 60%)
CMYKcmyk(0.7%, 24.8%, 0%, 40%)
CIE-LABlab(53.21, 21.31, -14.91)
CIE-LCHlch(53.21, 26.01, 325.02°)
OKLaboklab(60.5% 0.0586 -0.0402)
OKLCHoklch(60.5% 0.071 325.6)
XYZxyz(24.8288, 21.2374, 32.9221)
Luminance0.2124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987399 #749973
analogous
#857399 #987399 #997387
triadic
#987399 #999873 #739998
tetradic
#987399 #998573 #749973 #738799
square
#987399 #998573 #749973 #738799
split-complementary
#987399 #879973 #739985
monochromatic
#543D54 #775778 #987399 #B296B3 #CCBACD

Accessibility & contrast

On white

4.00
#987399 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#987399 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987399
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987399#FFFFFF#000000##000000
##9873991.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#707C9B
Deuteranopia (green-blind)
#798198
Tritanopia (blue-blind)
#9A7680
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #987399;
/* rgb */ color: rgb(152, 115, 153);
/* oklch */ color: oklch(60.5% 0.071 325.6);
Tailwind
colors: {
  custom: {
    50: '#b69bb7',
    500: '#987399',
    950: '#000000',
  },
}
SCSS
$custom: #987399;
$custom-light: #b69bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#987399",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 153
  },
  "hsl": {
    "h": 298.421,
    "s": 15.702,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60496,
    "c": 0.07108,
    "h": 325.6
  },
  "luminance": 0.21237
}

Semantic roles & 50–950 ramp

primary
#987399
secondary
#ACBCAC
accent
#B86F71
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110E11
muted
#807E80

Preview Lab

Preview with #987399

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

Preview Lab → · Contrast checker → · Palette generator →

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