#98298A#98298A

#98298A is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.181 H 333.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#98298A
RGBrgb(152, 41, 138)
HSLhsl(308, 58%, 38%)
HSVhsv(308, 73%, 60%)
CMYKcmyk(0%, 73%, 9.2%, 40.4%)
CIE-LABlab(38.02, 56.04, -29.37)
CIE-LCHlch(38.02, 63.27, 332.34°)
OKLaboklab(48.96% 0.1622 -0.0805)
OKLCHoklch(48.96% 0.181 333.6)
XYZxyz(18.3294, 10.0978, 25.0235)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98298A #299837
analogous
#6F2998 #98298A #982952
triadic
#98298A #8A9829 #298A98
tetradic
#98298A #986F29 #299837 #295298
square
#98298A #986F29 #299837 #295298
split-complementary
#98298A #529829 #29986F
monochromatic
#380F32 #681C5E #98298A #C836B6 #D666C8

Accessibility & contrast

On white

6.96
#98298A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#98298A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98298A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98298A#FFFFFF#000000##FFFFFF
##98298A1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8D
Deuteranopia (green-blind)
#4E5F87
Tritanopia (blue-blind)
#9F3356
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98298a;
/* rgb */ color: rgb(152, 41, 138);
/* oklch */ color: oklch(49.0% 0.181 333.6);
Tailwind
colors: {
  custom: {
    50: '#ba6eac',
    500: '#98298a',
    950: '#000000',
  },
}
SCSS
$custom: #98298a;
$custom-light: #ba6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#98298a",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 307.568,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48956,
    "c": 0.18107,
    "h": 333.6
  },
  "luminance": 0.10096
}

Semantic roles & 50–950 ramp

primary
#98298A
secondary
#61BC6D
accent
#E15A47
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98298A

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

Preview Lab → · Contrast checker → · Palette generator →

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