#97298C#97298C

#97298C is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.182 H 332.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#97298C
RGBrgb(151, 41, 140)
HSLhsl(306, 57%, 38%)
HSVhsv(306, 73%, 59%)
CMYKcmyk(0%, 72.8%, 7.3%, 40.8%)
CIE-LABlab(37.95, 56.12, -30.72)
CIE-LCHlch(37.95, 63.98, 331.30°)
OKLaboklab(48.91% 0.1613 -0.0844)
OKLCHoklch(48.91% 0.182 332.4)
XYZxyz(18.2891, 10.0601, 25.7844)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97298C #299734
analogous
#6B2997 #97298C #972955
triadic
#97298C #8C9729 #298C97
tetradic
#97298C #976B29 #299734 #295597
square
#97298C #976B29 #299734 #295597
split-complementary
#97298C #559729 #29976B
monochromatic
#370F33 #671C5F #97298C #C736B9 #D565CA

Accessibility & contrast

On white

6.97
#97298C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#97298C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97298C
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97298C#FFFFFF#000000##FFFFFF
##97298C1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8F
Deuteranopia (green-blind)
#4C5F89
Tritanopia (blue-blind)
#9E3558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97298c;
/* rgb */ color: rgb(151, 41, 140);
/* oklch */ color: oklch(48.9% 0.182 332.4);
Tailwind
colors: {
  custom: {
    50: '#b96eae',
    500: '#97298c',
    950: '#000000',
  },
}
SCSS
$custom: #97298c;
$custom-light: #b96eae;
$custom-dark: #000000;
JSON
{
  "hex": "#97298c",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 306,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48908,
    "c": 0.18202,
    "h": 332.4
  },
  "luminance": 0.10059
}

Semantic roles & 50–950 ramp

primary
#97298C
secondary
#61BB6A
accent
#E15747
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97298C

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

Preview Lab → · Contrast checker → · Palette generator →

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