#98498E#98498E

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

Color values

HEX#98498E
RGBrgb(152, 73, 142)
HSLhsl(308, 35%, 44%)
HSVhsv(308, 52%, 60%)
CMYKcmyk(0%, 52%, 6.6%, 40.4%)
CIE-LABlab(43.35, 42.62, -23.48)
CIE-LCHlch(43.35, 48.66, 331.15°)
OKLaboklab(52.92% 0.1218 -0.0639)
OKLCHoklch(52.92% 0.138 332.3)
XYZxyz(20.2138, 13.3948, 27.1067)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98498E #499853
analogous
#7B4998 #98498E #984967
triadic
#98498E #8E9849 #498E98
tetradic
#98498E #987B49 #499853 #496798
square
#98498E #987B49 #499853 #496798
split-complementary
#98498E #679849 #49987B
monochromatic
#452141 #6F3567 #98498E #B668AC #CA91C3

Accessibility & contrast

On white

5.71
#98498E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#98498E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98498E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98498E#FFFFFF#000000##FFFFFF
##98498E1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F90
Deuteranopia (green-blind)
#5E6B8C
Tritanopia (blue-blind)
#9E4F65
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #98498e;
/* rgb */ color: rgb(152, 73, 142);
/* oklch */ color: oklch(52.9% 0.138 332.3);
Tailwind
colors: {
  custom: {
    50: '#b87faf',
    500: '#98498e',
    950: '#000000',
  },
}
SCSS
$custom: #98498e;
$custom-light: #b87faf;
$custom-dark: #000000;
JSON
{
  "hex": "#98498e",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 307.595,
    "s": 35.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52918,
    "c": 0.13755,
    "h": 332.3
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98498E

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

Preview Lab → · Contrast checker → · Palette generator →

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