#98789A#98789A

#98789A is a mid, moderate purple. Relative luminance 0.224; OKLCH L 61.5% C 0.063 H 324.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#98789A
RGBrgb(152, 120, 154)
HSLhsl(296, 14%, 54%)
HSVhsv(296, 22%, 60%)
CMYKcmyk(1.3%, 22.1%, 0%, 39.6%)
CIE-LABlab(54.49, 18.62, -13.55)
CIE-LCHlch(54.49, 23.03, 323.96°)
OKLaboklab(61.49% 0.051 -0.0365)
OKLCHoklch(61.49% 0.063 324.4)
XYZxyz(25.4974, 22.4420, 33.5542)
Luminance0.2244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98789A #7A9A78
analogous
#87789A #98789A #9A788B
triadic
#98789A #9A9878 #789A98
tetradic
#98789A #9A8778 #7A9A78 #788B9A
square
#98789A #9A8778 #7A9A78 #788B9A
split-complementary
#98789A #8B9A78 #789A87
monochromatic
#554157 #785B7A #98789A #B39BB4 #CDBECE

Accessibility & contrast

On white

3.83
#98789A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#98789A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98789A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98789A#FFFFFF#000000##000000
##98789A1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#75809B
Deuteranopia (green-blind)
#7D8499
Tritanopia (blue-blind)
#9A7B84
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #98789a;
/* rgb */ color: rgb(152, 120, 154);
/* oklch */ color: oklch(61.5% 0.063 324.4);
Tailwind
colors: {
  custom: {
    50: '#b69fb7',
    500: '#98789a',
    950: '#000000',
  },
}
SCSS
$custom: #98789a;
$custom-light: #b69fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#98789a",
  "rgb": {
    "r": 152,
    "g": 120,
    "b": 154
  },
  "hsl": {
    "h": 296.471,
    "s": 14.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61493,
    "c": 0.06266,
    "h": 324.4
  },
  "luminance": 0.22441
}

Semantic roles & 50–950 ramp

primary
#98789A
secondary
#B0BEB0
accent
#B77175
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110E11
muted
#807E80

Preview Lab

Preview with #98789A

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

Preview Lab → · Contrast checker → · Palette generator →

#98789A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva