#972497#972497

#972497 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.196 H 328.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#972497
RGBrgb(151, 36, 151)
HSLhsl(300, 61%, 37%)
HSVhsv(300, 76%, 59%)
CMYKcmyk(0%, 76.2%, 0%, 40.8%)
CIE-LABlab(37.98, 59.57, -37.39)
CIE-LCHlch(37.98, 70.33, 327.89°)
OKLaboklab(49.13% 0.1663 -0.1036)
OKLCHoklch(49.13% 0.196 328.1)
XYZxyz(18.9791, 10.0768, 30.2176)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972497 #249724
analogous
#5E2497 #972497 #97245E
triadic
#972497 #979724 #249797
tetradic
#972497 #975E24 #249724 #245E97
square
#972497 #975E24 #249724 #245E97
split-complementary
#972497 #5E9724 #24975E
monochromatic
#340C34 #661866 #972497 #C830C8 #D85DD8

Accessibility & contrast

On white

6.97
#972497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#972497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972497
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972497#FFFFFF#000000##FFFFFF
##9724971.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08509A
Deuteranopia (green-blind)
#445F94
Tritanopia (blue-blind)
#9C375C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972497;
/* rgb */ color: rgb(151, 36, 151);
/* oklch */ color: oklch(49.1% 0.196 328.1);
Tailwind
colors: {
  custom: {
    50: '#b96cb6',
    500: '#972497',
    950: '#000000',
  },
}
SCSS
$custom: #972497;
$custom-light: #b96cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#972497",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49127,
    "c": 0.19592,
    "h": 328.1
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#972497
secondary
#5ABD5A
accent
#E54343
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972497

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

Preview Lab → · Contrast checker → · Palette generator →

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