#987698#987698

#987698 is a mid, moderate purple. Relative luminance 0.219; OKLCH L 61.0% C 0.064 H 326.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#987698
RGBrgb(152, 118, 152)
HSLhsl(300, 14%, 53%)
HSVhsv(300, 22%, 60%)
CMYKcmyk(0%, 22.4%, 0%, 40.4%)
CIE-LABlab(53.92, 19.38, -13.25)
CIE-LCHlch(53.92, 23.48, 325.63°)
OKLaboklab(61.03% 0.0535 -0.0356)
OKLCHoklch(61.03% 0.064 326.3)
XYZxyz(25.0942, 21.8999, 32.6049)
Luminance0.2190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987698 #769876
analogous
#877698 #987698 #987687
triadic
#987698 #989876 #769898
tetradic
#987698 #988776 #769876 #768798
square
#987698 #988776 #769876 #768798
split-complementary
#987698 #879876 #769887
monochromatic
#543F54 #775A77 #987698 #B299B2 #CDBCCD

Accessibility & contrast

On white

3.90
#987698 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#987698 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987698
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987698#FFFFFF#000000##000000
##9876981.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#747E99
Deuteranopia (green-blind)
#7B8297
Tritanopia (blue-blind)
#9A7982
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #987698;
/* rgb */ color: rgb(152, 118, 152);
/* oklch */ color: oklch(61.0% 0.064 326.3);
Tailwind
colors: {
  custom: {
    50: '#b69db6',
    500: '#987698',
    950: '#000000',
  },
}
SCSS
$custom: #987698;
$custom-light: #b69db6;
$custom-dark: #000000;
JSON
{
  "hex": "#987698",
  "rgb": {
    "r": 152,
    "g": 118,
    "b": 152
  },
  "hsl": {
    "h": 300,
    "s": 14.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.6103,
    "c": 0.06426,
    "h": 326.3
  },
  "luminance": 0.21899
}

Semantic roles & 50–950 ramp

primary
#987698
secondary
#AEBCAE
accent
#B77171
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110E11
muted
#807E80

Preview Lab

Preview with #987698

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

Preview Lab → · Contrast checker → · Palette generator →

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