#97298D#97298D

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

Color values

HEX#97298D
RGBrgb(151, 41, 141)
HSLhsl(305, 57%, 38%)
HSVhsv(305, 73%, 59%)
CMYKcmyk(0%, 72.8%, 6.6%, 40.8%)
CIE-LABlab(38.00, 56.28, -31.25)
CIE-LCHlch(38.00, 64.37, 330.96°)
OKLaboklab(48.96% 0.1613 -0.0859)
OKLCHoklch(48.96% 0.183 332)
XYZxyz(18.3632, 10.0898, 26.1745)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97298D #299733
analogous
#6A2997 #97298D #972956
triadic
#97298D #8D9729 #298D97
tetradic
#97298D #976A29 #299733 #295697
square
#97298D #976A29 #299733 #295697
split-complementary
#97298D #569729 #29976A
monochromatic
#370F33 #671C60 #97298D #C736BA #D565CB

Accessibility & contrast

On white

6.96
#97298D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#97298D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97298D
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97298D#FFFFFF#000000##FFFFFF
##97298D1.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)
#225090
Deuteranopia (green-blind)
#4C5F8A
Tritanopia (blue-blind)
#9D3558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97298d;
/* rgb */ color: rgb(151, 41, 141);
/* oklch */ color: oklch(49.0% 0.183 332.0);
Tailwind
colors: {
  custom: {
    50: '#b96eaf',
    500: '#97298d',
    950: '#000000',
  },
}
SCSS
$custom: #97298d;
$custom-light: #b96eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#97298d",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 305.455,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48964,
    "c": 0.18277,
    "h": 332
  },
  "luminance": 0.10088
}

Semantic roles & 50–950 ramp

primary
#97298D
secondary
#61BB69
accent
#E15547
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97298D

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

Preview Lab → · Contrast checker → · Palette generator →

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