#972297#972297

#972297 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.198 H 328.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#972297
RGBrgb(151, 34, 151)
HSLhsl(300, 63%, 36%)
HSVhsv(300, 77%, 59%)
CMYKcmyk(0%, 77.5%, 0%, 40.8%)
CIE-LABlab(37.77, 60.18, -37.72)
CIE-LCHlch(37.77, 71.03, 327.92°)
OKLaboklab(48.98% 0.168 -0.1046)
OKLCHoklch(48.98% 0.198 328.1)
XYZxyz(18.9202, 9.9591, 30.1979)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972297 #229722
analogous
#5D2297 #972297 #97225D
triadic
#972297 #979722 #229797
tetradic
#972297 #975D22 #229722 #225D97
square
#972297 #975D22 #229722 #225D97
split-complementary
#972297 #5D9722 #22975D
monochromatic
#330C33 #651765 #972297 #C92DC9 #DA5ADA

Accessibility & contrast

On white

7.02
#972297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#972297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972297
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972297#FFFFFF#000000##FFFFFF
##9722971.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024F9A
Deuteranopia (green-blind)
#435E94
Tritanopia (blue-blind)
#9C365C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972297;
/* rgb */ color: rgb(151, 34, 151);
/* oklch */ color: oklch(49.0% 0.198 328.1);
Tailwind
colors: {
  custom: {
    50: '#b96bb6',
    500: '#972297',
    950: '#000000',
  },
}
SCSS
$custom: #972297;
$custom-light: #b96bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#972297",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48976,
    "c": 0.19789,
    "h": 328.1
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

primary
#972297
secondary
#57BE57
accent
#E64242
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972297

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

Preview Lab → · Contrast checker → · Palette generator →

#972297 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva