#98518E#98518E

#98518E is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.1% C 0.124 H 332.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#98518E
RGBrgb(152, 81, 142)
HSLhsl(308, 30%, 46%)
HSVhsv(308, 47%, 60%)
CMYKcmyk(0%, 46.7%, 6.6%, 40.4%)
CIE-LABlab(44.96, 38.41, -21.00)
CIE-LCHlch(44.96, 43.78, 331.34°)
OKLaboklab(54.12% 0.1097 -0.0569)
OKLCHoklch(54.12% 0.124 332.6)
XYZxyz(20.7737, 14.5145, 27.2933)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98518E #51985B
analogous
#7E5198 #98518E #98516A
triadic
#98518E #8E9851 #518E98
tetradic
#98518E #987E51 #51985B #516A98
square
#98518E #987E51 #51985B #516A98
split-complementary
#98518E #6A9851 #51987E
monochromatic
#482643 #703C69 #98518E #B472AB #C99AC3

Accessibility & contrast

On white

5.38
#98518E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#98518E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98518E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98518E#FFFFFF#000000##FFFFFF
##98518E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6490
Deuteranopia (green-blind)
#636E8C
Tritanopia (blue-blind)
#9E5569
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #98518e;
/* rgb */ color: rgb(152, 81, 142);
/* oklch */ color: oklch(54.1% 0.124 332.6);
Tailwind
colors: {
  custom: {
    50: '#b884af',
    500: '#98518e',
    950: '#000000',
  },
}
SCSS
$custom: #98518e;
$custom-light: #b884af;
$custom-dark: #000000;
JSON
{
  "hex": "#98518e",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 308.451,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54115,
    "c": 0.12359,
    "h": 332.6
  },
  "luminance": 0.14513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98518E

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

Preview Lab → · Contrast checker → · Palette generator →

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