#98398B#98398B

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

Color values

HEX#98398B
RGBrgb(152, 57, 139)
HSLhsl(308, 45%, 41%)
HSVhsv(308, 63%, 60%)
CMYKcmyk(0%, 62.5%, 8.6%, 40.4%)
CIE-LABlab(40.36, 49.81, -26.32)
CIE-LCHlch(40.36, 56.34, 332.14°)
OKLaboklab(50.67% 0.1436 -0.0719)
OKLCHoklch(50.67% 0.161 333.4)
XYZxyz(19.0723, 11.4672, 25.6300)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98398B #399846
analogous
#753998 #98398B #98395B
triadic
#98398B #8B9839 #398B98
tetradic
#98398B #987539 #399846 #395B98
square
#98398B #987539 #399846 #395B98
split-complementary
#98398B #5B9839 #399875
monochromatic
#3F183A #6B2862 #98398B #BE51AF #CE7DC3

Accessibility & contrast

On white

6.38
#98398B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98398B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98398B#FFFFFF#000000##FFFFFF
##98398B1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98398b;
/* rgb */ color: rgb(152, 57, 139);
/* oklch */ color: oklch(50.7% 0.161 333.4);
Tailwind
colors: {
  custom: {
    50: '#b976ad',
    500: '#98398b',
    950: '#000000',
  },
}
SCSS
$custom: #98398b;
$custom-light: #b976ad;
$custom-dark: #000000;
JSON
{
  "hex": "#98398b",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 308.211,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50669,
    "c": 0.16059,
    "h": 333.4
  },
  "luminance": 0.11466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98398B

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

Preview Lab → · Contrast checker → · Palette generator →

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