#98518D#98518D

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

Color values

HEX#98518D
RGBrgb(152, 81, 141)
HSLhsl(309, 30%, 46%)
HSVhsv(309, 47%, 60%)
CMYKcmyk(0%, 46.7%, 7.2%, 40.4%)
CIE-LABlab(44.92, 38.23, -20.46)
CIE-LCHlch(44.92, 43.36, 331.85°)
OKLaboklab(54.07% 0.1095 -0.0554)
OKLCHoklch(54.07% 0.123 333.1)
XYZxyz(20.6990, 14.4846, 26.8997)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98518D #51985C
analogous
#7F5198 #98518D #985169
triadic
#98518D #8D9851 #518D98
tetradic
#98518D #987F51 #51985C #516998
square
#98518D #987F51 #51985C #516998
split-complementary
#98518D #699851 #51987F
monochromatic
#482643 #703C68 #98518D #B472AA #C99AC2

Accessibility & contrast

On white

5.39
#98518D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98518D
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98518D#FFFFFF#000000##FFFFFF
##98518D1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50648F
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#9E5568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #98518d;
/* rgb */ color: rgb(152, 81, 141);
/* oklch */ color: oklch(54.1% 0.123 333.1);
Tailwind
colors: {
  custom: {
    50: '#b884ae',
    500: '#98518d',
    950: '#000000',
  },
}
SCSS
$custom: #98518d;
$custom-light: #b884ae;
$custom-dark: #000000;
JSON
{
  "hex": "#98518d",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 309.296,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5407,
    "c": 0.12269,
    "h": 333.1
  },
  "luminance": 0.14483
}

Semantic roles & 50–950 ramp

primary
#98518D
secondary
#8FB695
accent
#C77161
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #98518D

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

Preview Lab → · Contrast checker → · Palette generator →

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