#97298E#97298E

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

Color values

HEX#97298E
RGBrgb(151, 41, 142)
HSLhsl(305, 57%, 38%)
HSVhsv(305, 73%, 59%)
CMYKcmyk(0%, 72.8%, 6%, 40.8%)
CIE-LABlab(38.06, 56.44, -31.78)
CIE-LCHlch(38.06, 64.77, 330.62°)
OKLaboklab(49.02% 0.1614 -0.0874)
OKLCHoklch(49.02% 0.184 331.6)
XYZxyz(18.4379, 10.1197, 26.5681)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97298E #299732
analogous
#692997 #97298E #972957
triadic
#97298E #8E9729 #298E97
tetradic
#97298E #976929 #299732 #295797
square
#97298E #976929 #299732 #295797
split-complementary
#97298E #579729 #299769
monochromatic
#370F33 #671C61 #97298E #C736BB #D565CC

Accessibility & contrast

On white

6.95
#97298E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #97298E
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97298E#FFFFFF#000000##FFFFFF
##97298E1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97298e;
/* rgb */ color: rgb(151, 41, 142);
/* oklch */ color: oklch(49.0% 0.184 331.6);
Tailwind
colors: {
  custom: {
    50: '#b96eaf',
    500: '#97298e',
    950: '#000000',
  },
}
SCSS
$custom: #97298e;
$custom-light: #b96eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#97298e",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 304.909,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49019,
    "c": 0.18355,
    "h": 331.6
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#97298E
secondary
#61BB68
accent
#E15447
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97298E

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

Preview Lab → · Contrast checker → · Palette generator →

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