#97298B#97298B

#97298B is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.181 H 332.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#97298B
RGBrgb(151, 41, 139)
HSLhsl(307, 57%, 38%)
HSVhsv(307, 73%, 59%)
CMYKcmyk(0%, 72.8%, 7.9%, 40.8%)
CIE-LABlab(37.90, 55.96, -30.19)
CIE-LCHlch(37.90, 63.58, 331.65°)
OKLaboklab(48.85% 0.1612 -0.0828)
OKLCHoklch(48.85% 0.181 332.8)
XYZxyz(18.2157, 10.0308, 25.3978)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97298B #299735
analogous
#6C2997 #97298B #972954
triadic
#97298B #8B9729 #298B97
tetradic
#97298B #976C29 #299735 #295497
square
#97298B #976C29 #299735 #295497
split-complementary
#97298B #549729 #29976C
monochromatic
#370F32 #671C5F #97298B #C736B7 #D565C9

Accessibility & contrast

On white

6.99
#97298B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #97298B
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97298B#FFFFFF#000000##FFFFFF
##97298B1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8E
Deuteranopia (green-blind)
#4D5F88
Tritanopia (blue-blind)
#9E3457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97298b;
/* rgb */ color: rgb(151, 41, 139);
/* oklch */ color: oklch(48.9% 0.181 332.8);
Tailwind
colors: {
  custom: {
    50: '#b96ead',
    500: '#97298b',
    950: '#000000',
  },
}
SCSS
$custom: #97298b;
$custom-light: #b96ead;
$custom-dark: #000000;
JSON
{
  "hex": "#97298b",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 306.545,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48853,
    "c": 0.18125,
    "h": 332.8
  },
  "luminance": 0.10029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #97298B

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

Preview Lab → · Contrast checker → · Palette generator →

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