#972296#972296

#972296 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.9% C 0.197 H 328.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#972296
RGBrgb(151, 34, 150)
HSLhsl(301, 63%, 36%)
HSVhsv(301, 77%, 59%)
CMYKcmyk(0%, 77.5%, 0.7%, 40.8%)
CIE-LABlab(37.71, 60.02, -37.21)
CIE-LCHlch(37.71, 70.61, 328.20°)
OKLaboklab(48.92% 0.168 -0.1031)
OKLCHoklch(48.92% 0.197 328.5)
XYZxyz(18.8393, 9.9268, 29.7721)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972296 #229723
analogous
#5E2297 #972296 #97225C
triadic
#972296 #969722 #229697
tetradic
#972296 #975E22 #229723 #225C97
square
#972296 #975E22 #229723 #225C97
split-complementary
#972296 #5C9722 #22975E
monochromatic
#330C33 #651764 #972296 #C92DC8 #DA5AD9

Accessibility & contrast

On white

7.04
#972296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972296
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972296#FFFFFF#000000##FFFFFF
##9722961.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054F99
Deuteranopia (green-blind)
#445E93
Tritanopia (blue-blind)
#9C355B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972296;
/* rgb */ color: rgb(151, 34, 150);
/* oklch */ color: oklch(48.9% 0.197 328.5);
Tailwind
colors: {
  custom: {
    50: '#b96bb5',
    500: '#972296',
    950: '#000000',
  },
}
SCSS
$custom: #972296;
$custom-light: #b96bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#972296",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 300.513,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48916,
    "c": 0.19712,
    "h": 328.5
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#972296
secondary
#57BE58
accent
#E64342
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972296

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

Preview Lab → · Contrast checker → · Palette generator →

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