#98578E#98578E

#98578E is a mid, moderate purple. Relative luminance 0.154; OKLCH L 55.1% C 0.113 H 332.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#98578E
RGBrgb(152, 87, 142)
HSLhsl(309, 27%, 47%)
HSVhsv(309, 43%, 60%)
CMYKcmyk(0%, 42.8%, 6.6%, 40.4%)
CIE-LABlab(46.24, 35.14, -19.03)
CIE-LCHlch(46.24, 39.97, 331.56°)
OKLaboklab(55.07% 0.1003 -0.0515)
OKLCHoklch(55.07% 0.113 332.8)
XYZxyz(21.2394, 15.4459, 27.4486)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98578E #579861
analogous
#825798 #98578E #98576E
triadic
#98578E #8E9857 #578E98
tetradic
#98578E #988257 #579861 #576E98
square
#98578E #988257 #579861 #576E98
split-complementary
#98578E #6E9857 #579882
monochromatic
#4A2A45 #71416A #98578E #B37AAA #C9A0C3

Accessibility & contrast

On white

5.14
#98578E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#98578E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98578E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98578E#FFFFFF#000000##FFFFFF
##98578E1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566890
Deuteranopia (green-blind)
#67718C
Tritanopia (blue-blind)
#9D5B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #98578e;
/* rgb */ color: rgb(152, 87, 142);
/* oklch */ color: oklch(55.1% 0.113 332.8);
Tailwind
colors: {
  custom: {
    50: '#b888af',
    500: '#98578e',
    950: '#000000',
  },
}
SCSS
$custom: #98578e;
$custom-light: #b888af;
$custom-dark: #000000;
JSON
{
  "hex": "#98578e",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 142
  },
  "hsl": {
    "h": 309.231,
    "s": 27.197,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55071,
    "c": 0.11274,
    "h": 332.8
  },
  "luminance": 0.15445
}

Semantic roles & 50–950 ramp

primary
#98578E
secondary
#94B69A
accent
#C47364
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #98578E

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

Preview Lab → · Contrast checker → · Palette generator →

#98578E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva