#98398D#98398D

#98398D is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.8% C 0.162 H 332.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#98398D
RGBrgb(152, 57, 141)
HSLhsl(307, 45%, 41%)
HSVhsv(307, 63%, 60%)
CMYKcmyk(0%, 62.5%, 7.2%, 40.4%)
CIE-LABlab(40.45, 50.14, -27.39)
CIE-LCHlch(40.45, 57.14, 331.36°)
OKLaboklab(50.77% 0.1439 -0.0749)
OKLCHoklch(50.77% 0.162 332.5)
XYZxyz(19.2197, 11.5262, 26.4066)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98398D #399844
analogous
#733998 #98398D #98395D
triadic
#98398D #8D9839 #398D98
tetradic
#98398D #987339 #399844 #395D98
square
#98398D #987339 #399844 #395D98
split-complementary
#98398D #5D9839 #399873
monochromatic
#3F183A #6B2864 #98398D #BE51B1 #CE7DC5

Accessibility & contrast

On white

6.35
#98398D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#98398D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98398D
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98398D#FFFFFF#000000##FFFFFF
##98398D1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#55648A
Tritanopia (blue-blind)
#9E415E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #98398d;
/* rgb */ color: rgb(152, 57, 141);
/* oklch */ color: oklch(50.8% 0.162 332.5);
Tailwind
colors: {
  custom: {
    50: '#b976ae',
    500: '#98398d',
    950: '#000000',
  },
}
SCSS
$custom: #98398d;
$custom-light: #b976ae;
$custom-dark: #000000;
JSON
{
  "hex": "#98398d",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 306.947,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50771,
    "c": 0.16222,
    "h": 332.5
  },
  "luminance": 0.11525
}

Semantic roles & 50–950 ramp

primary
#98398D
secondary
#75B87D
accent
#D56253
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98398D

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

Preview Lab → · Contrast checker → · Palette generator →

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