#98518F#98518F

#98518F is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.2% C 0.125 H 332.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#98518F
RGBrgb(152, 81, 143)
HSLhsl(308, 30%, 46%)
HSVhsv(308, 47%, 60%)
CMYKcmyk(0%, 46.7%, 5.9%, 40.4%)
CIE-LABlab(45.00, 38.60, -21.53)
CIE-LCHlch(45.00, 44.20, 330.84°)
OKLaboklab(54.16% 0.1099 -0.0585)
OKLCHoklch(54.16% 0.125 332)
XYZxyz(20.8491, 14.5446, 27.6905)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98518F #51985A
analogous
#7D5198 #98518F #98516B
triadic
#98518F #8F9851 #518F98
tetradic
#98518F #987D51 #51985A #516B98
square
#98518F #987D51 #51985A #516B98
split-complementary
#98518F #6B9851 #51987D
monochromatic
#482644 #703C69 #98518F #B472AC #C99AC3

Accessibility & contrast

On white

5.37
#98518F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#98518F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98518F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98518F#FFFFFF#000000##FFFFFF
##98518F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6491
Deuteranopia (green-blind)
#636E8D
Tritanopia (blue-blind)
#9D5669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #98518f;
/* rgb */ color: rgb(152, 81, 143);
/* oklch */ color: oklch(54.2% 0.125 332.0);
Tailwind
colors: {
  custom: {
    50: '#b884b0',
    500: '#98518f',
    950: '#000000',
  },
}
SCSS
$custom: #98518f;
$custom-light: #b884b0;
$custom-dark: #000000;
JSON
{
  "hex": "#98518f",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 307.606,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5416,
    "c": 0.12451,
    "h": 332
  },
  "luminance": 0.14543
}

Semantic roles & 50–950 ramp

primary
#98518F
secondary
#8FB694
accent
#C76E61
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #98518F

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

Preview Lab → · Contrast checker → · Palette generator →

#98518F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva