#97298A#97298A

#97298A is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.180 H 333.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#97298A
RGBrgb(151, 41, 138)
HSLhsl(307, 57%, 38%)
HSVhsv(307, 73%, 59%)
CMYKcmyk(0%, 72.8%, 8.6%, 40.8%)
CIE-LABlab(37.85, 55.80, -29.66)
CIE-LCHlch(37.85, 63.19, 332.01°)
OKLaboklab(48.8% 0.1611 -0.0813)
OKLCHoklch(48.8% 0.18 333.2)
XYZxyz(18.1430, 10.0017, 25.0148)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97298A #299736
analogous
#6D2997 #97298A #972953
triadic
#97298A #8A9729 #298A97
tetradic
#97298A #976D29 #299736 #295397
square
#97298A #976D29 #299736 #295397
split-complementary
#97298A #539729 #29976D
monochromatic
#370F32 #671C5E #97298A #C736B6 #D565C8

Accessibility & contrast

On white

7.00
#97298A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#97298A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97298A
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97298A#FFFFFF#000000##FFFFFF
##97298A1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#4D5F87
Tritanopia (blue-blind)
#9E3456
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97298a;
/* rgb */ color: rgb(151, 41, 138);
/* oklch */ color: oklch(48.8% 0.180 333.2);
Tailwind
colors: {
  custom: {
    50: '#b96eac',
    500: '#97298a',
    950: '#000000',
  },
}
SCSS
$custom: #97298a;
$custom-light: #b96eac;
$custom-dark: #000000;
JSON
{
  "hex": "#97298a",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 307.091,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48799,
    "c": 0.18049,
    "h": 333.2
  },
  "luminance": 0.1
}

Semantic roles & 50–950 ramp

primary
#97298A
secondary
#61BB6B
accent
#E15947
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97298A

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

Preview Lab → · Contrast checker → · Palette generator →

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