#97298F#97298F

#97298F is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.184 H 331.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#97298F
RGBrgb(151, 41, 143)
HSLhsl(304, 57%, 38%)
HSVhsv(304, 73%, 59%)
CMYKcmyk(0%, 72.8%, 5.3%, 40.8%)
CIE-LABlab(38.11, 56.60, -32.30)
CIE-LCHlch(38.11, 65.17, 330.29°)
OKLaboklab(49.08% 0.1614 -0.0889)
OKLCHoklch(49.08% 0.184 331.1)
XYZxyz(18.5133, 10.1498, 26.9653)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97298F #299731
analogous
#682997 #97298F #972958
triadic
#97298F #8F9729 #298F97
tetradic
#97298F #976829 #299731 #295897
square
#97298F #976829 #299731 #295897
split-complementary
#97298F #589729 #299768
monochromatic
#370F34 #671C61 #97298F #C736BD #D565CD

Accessibility & contrast

On white

6.93
#97298F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#97298F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97298F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97298F#FFFFFF#000000##FFFFFF
##97298F1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205092
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#9D3659
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97298f;
/* rgb */ color: rgb(151, 41, 143);
/* oklch */ color: oklch(49.1% 0.184 331.1);
Tailwind
colors: {
  custom: {
    50: '#b96eb0',
    500: '#97298f',
    950: '#000000',
  },
}
SCSS
$custom: #97298f;
$custom-light: #b96eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#97298f",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 304.364,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49075,
    "c": 0.18431,
    "h": 331.1
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

primary
#97298F
secondary
#61BB67
accent
#E15247
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #97298F

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

Preview Lab → · Contrast checker → · Palette generator →

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