#98398A#98398A

#98398A is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.6% C 0.160 H 333.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#98398A
RGBrgb(152, 57, 138)
HSLhsl(309, 45%, 41%)
HSVhsv(309, 63%, 60%)
CMYKcmyk(0%, 62.5%, 9.2%, 40.4%)
CIE-LABlab(40.31, 49.64, -25.79)
CIE-LCHlch(40.31, 55.94, 332.55°)
OKLaboklab(50.62% 0.1435 -0.0703)
OKLCHoklch(50.62% 0.16 333.9)
XYZxyz(18.9996, 11.4381, 25.2469)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98398A #399847
analogous
#763998 #98398A #98395A
triadic
#98398A #8A9839 #398A98
tetradic
#98398A #987639 #399847 #395A98
square
#98398A #987639 #399847 #395A98
split-complementary
#98398A #5A9839 #399876
monochromatic
#3F1839 #6B2862 #98398A #BE51AE #CE7DC2

Accessibility & contrast

On white

6.39
#98398A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#98398A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98398A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98398A#FFFFFF#000000##FFFFFF
##98398A1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568C
Deuteranopia (green-blind)
#566488
Tritanopia (blue-blind)
#9F405C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #98398a;
/* rgb */ color: rgb(152, 57, 138);
/* oklch */ color: oklch(50.6% 0.160 333.9);
Tailwind
colors: {
  custom: {
    50: '#b976ac',
    500: '#98398a',
    950: '#000000',
  },
}
SCSS
$custom: #98398a;
$custom-light: #b976ac;
$custom-dark: #000000;
JSON
{
  "hex": "#98398a",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 308.842,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50619,
    "c": 0.15978,
    "h": 333.9
  },
  "luminance": 0.11437
}

Semantic roles & 50–950 ramp

primary
#98398A
secondary
#75B87F
accent
#D56653
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98398A

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

Preview Lab → · Contrast checker → · Palette generator →

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