#972295#972295

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

Color values

HEX#972295
RGBrgb(151, 34, 149)
HSLhsl(301, 63%, 36%)
HSVhsv(301, 77%, 59%)
CMYKcmyk(0%, 77.5%, 1.3%, 40.8%)
CIE-LABlab(37.65, 59.85, -36.69)
CIE-LCHlch(37.65, 70.20, 328.49°)
OKLaboklab(48.86% 0.168 -0.1016)
OKLCHoklch(48.86% 0.196 328.8)
XYZxyz(18.7592, 9.8947, 29.3498)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972295 #229724
analogous
#5F2297 #972295 #97225B
triadic
#972295 #959722 #229597
tetradic
#972295 #975F22 #229724 #225B97
square
#972295 #975F22 #229724 #225B97
split-complementary
#972295 #5B9722 #22975F
monochromatic
#330C32 #651764 #972295 #C92DC6 #DA5AD8

Accessibility & contrast

On white

7.05
#972295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#972295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972295
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972295#FFFFFF#000000##FFFFFF
##9722951.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084F98
Deuteranopia (green-blind)
#455E92
Tritanopia (blue-blind)
#9C355B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972295;
/* rgb */ color: rgb(151, 34, 149);
/* oklch */ color: oklch(48.9% 0.196 328.8);
Tailwind
colors: {
  custom: {
    50: '#b96bb4',
    500: '#972295',
    950: '#000000',
  },
}
SCSS
$custom: #972295;
$custom-light: #b96bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#972295",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 301.026,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48856,
    "c": 0.19636,
    "h": 328.8
  },
  "luminance": 0.09893
}

Semantic roles & 50–950 ramp

primary
#972295
secondary
#57BE59
accent
#E64442
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972295

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

Preview Lab → · Contrast checker → · Palette generator →

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