#98398F#98398F

#98398F is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.9% C 0.164 H 331.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#98398F
RGBrgb(152, 57, 143)
HSLhsl(306, 45%, 41%)
HSVhsv(306, 63%, 60%)
CMYKcmyk(0%, 62.5%, 5.9%, 40.4%)
CIE-LABlab(40.55, 50.49, -28.45)
CIE-LCHlch(40.55, 57.95, 330.59°)
OKLaboklab(50.88% 0.1441 -0.078)
OKLCHoklch(50.88% 0.164 331.6)
XYZxyz(19.3699, 11.5862, 27.1974)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98398F #399842
analogous
#713998 #98398F #98395F
triadic
#98398F #8F9839 #398F98
tetradic
#98398F #987139 #399842 #395F98
square
#98398F #987139 #399842 #395F98
split-complementary
#98398F #5F9839 #399871
monochromatic
#3F183B #6B2865 #98398F #BE51B3 #CE7DC7

Accessibility & contrast

On white

6.33
#98398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#98398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98398F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98398F#FFFFFF#000000##FFFFFF
##98398F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345792
Deuteranopia (green-blind)
#54648C
Tritanopia (blue-blind)
#9E425F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #98398f;
/* rgb */ color: rgb(152, 57, 143);
/* oklch */ color: oklch(50.9% 0.164 331.6);
Tailwind
colors: {
  custom: {
    50: '#b976b0',
    500: '#98398f',
    950: '#000000',
  },
}
SCSS
$custom: #98398f;
$custom-light: #b976b0;
$custom-dark: #000000;
JSON
{
  "hex": "#98398f",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 305.684,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50875,
    "c": 0.16387,
    "h": 331.6
  },
  "luminance": 0.11585
}

Semantic roles & 50–950 ramp

primary
#98398F
secondary
#75B87B
accent
#D55F53
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98398F

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

Preview Lab → · Contrast checker → · Palette generator →

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