#972292#972292

#972292 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.194 H 330.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#972292
RGBrgb(151, 34, 146)
HSLhsl(303, 63%, 36%)
HSVhsv(303, 77%, 59%)
CMYKcmyk(0%, 77.5%, 3.3%, 40.8%)
CIE-LABlab(37.48, 59.36, -35.13)
CIE-LCHlch(37.48, 68.98, 329.38°)
OKLaboklab(48.68% 0.168 -0.0971)
OKLCHoklch(48.68% 0.194 330)
XYZxyz(18.5227, 9.8001, 28.1046)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972292 #229727
analogous
#622297 #972292 #972258
triadic
#972292 #929722 #229297
tetradic
#972292 #976222 #229727 #225897
square
#972292 #976222 #229727 #225897
split-complementary
#972292 #589722 #229762
monochromatic
#330C31 #651762 #972292 #C92DC2 #DA5AD4

Accessibility & contrast

On white

7.10
#972292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#972292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972292
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972292#FFFFFF#000000##FFFFFF
##9722921.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104E95
Deuteranopia (green-blind)
#465E8F
Tritanopia (blue-blind)
#9D3359
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #972292;
/* rgb */ color: rgb(151, 34, 146);
/* oklch */ color: oklch(48.7% 0.194 330.0);
Tailwind
colors: {
  custom: {
    50: '#b96bb2',
    500: '#972292',
    950: '#000000',
  },
}
SCSS
$custom: #972292;
$custom-light: #b96bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#972292",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 302.564,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48678,
    "c": 0.19407,
    "h": 330
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#972292
secondary
#57BE5B
accent
#E64942
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972292

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

Preview Lab → · Contrast checker → · Palette generator →

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