#98398C#98398C

#98398C is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.7% C 0.161 H 333.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#98398C
RGBrgb(152, 57, 140)
HSLhsl(308, 45%, 41%)
HSVhsv(308, 63%, 60%)
CMYKcmyk(0%, 62.5%, 7.9%, 40.4%)
CIE-LABlab(40.40, 49.98, -26.86)
CIE-LCHlch(40.40, 56.74, 331.75°)
OKLaboklab(50.72% 0.1438 -0.0734)
OKLCHoklch(50.72% 0.161 333)
XYZxyz(19.1457, 11.4965, 26.0165)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98398C #399845
analogous
#743998 #98398C #98395C
triadic
#98398C #8C9839 #398C98
tetradic
#98398C #987439 #399845 #395C98
square
#98398C #987439 #399845 #395C98
split-complementary
#98398C #5C9839 #399874
monochromatic
#3F183A #6B2863 #98398C #BE51B0 #CE7DC4

Accessibility & contrast

On white

6.37
#98398C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#98398C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98398C
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98398C#FFFFFF#000000##FFFFFF
##98398C1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568F
Deuteranopia (green-blind)
#556489
Tritanopia (blue-blind)
#9E415D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #98398c;
/* rgb */ color: rgb(152, 57, 140);
/* oklch */ color: oklch(50.7% 0.161 333.0);
Tailwind
colors: {
  custom: {
    50: '#b976ae',
    500: '#98398c',
    950: '#000000',
  },
}
SCSS
$custom: #98398c;
$custom-light: #b976ae;
$custom-dark: #000000;
JSON
{
  "hex": "#98398c",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 307.579,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5072,
    "c": 0.1614,
    "h": 333
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#98398C
secondary
#75B87E
accent
#D56353
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98398C

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

Preview Lab → · Contrast checker → · Palette generator →

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