#98498D#98498D

#98498D is a mid, vivid purple. Relative luminance 0.134; OKLCH L 52.9% C 0.137 H 332.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#98498D
RGBrgb(152, 73, 141)
HSLhsl(308, 35%, 44%)
HSVhsv(308, 52%, 60%)
CMYKcmyk(0%, 52%, 7.2%, 40.4%)
CIE-LABlab(43.31, 42.45, -22.95)
CIE-LCHlch(43.31, 48.25, 331.60°)
OKLaboklab(52.87% 0.1216 -0.0624)
OKLCHoklch(52.87% 0.137 332.8)
XYZxyz(20.1391, 13.3649, 26.7131)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98498D #499854
analogous
#7C4998 #98498D #984966
triadic
#98498D #8D9849 #498D98
tetradic
#98498D #987C49 #499854 #496698
square
#98498D #987C49 #499854 #496698
split-complementary
#98498D #669849 #49987C
monochromatic
#452140 #6F3567 #98498D #B668AB #CA91C2

Accessibility & contrast

On white

5.72
#98498D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#98498D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98498D
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98498D#FFFFFF#000000##FFFFFF
##98498D1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8F
Deuteranopia (green-blind)
#5E6A8B
Tritanopia (blue-blind)
#9E4E64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #98498d;
/* rgb */ color: rgb(152, 73, 141);
/* oklch */ color: oklch(52.9% 0.137 332.8);
Tailwind
colors: {
  custom: {
    50: '#b87fae',
    500: '#98498d',
    950: '#000000',
  },
}
SCSS
$custom: #98498d;
$custom-light: #b87fae;
$custom-dark: #000000;
JSON
{
  "hex": "#98498d",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 308.354,
    "s": 35.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52871,
    "c": 0.13668,
    "h": 332.8
  },
  "luminance": 0.13364
}

Semantic roles & 50–950 ramp

primary
#98498D
secondary
#87B68D
accent
#CB6C5D
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #98498D

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

Preview Lab → · Contrast checker → · Palette generator →

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