#972792#972792

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

Color values

HEX#972792
RGBrgb(151, 39, 146)
HSLhsl(303, 59%, 37%)
HSVhsv(303, 74%, 59%)
CMYKcmyk(0%, 74.2%, 3.3%, 40.8%)
CIE-LABlab(38.03, 57.78, -34.26)
CIE-LCHlch(38.03, 67.17, 329.34°)
OKLaboklab(49.07% 0.1635 -0.0946)
OKLCHoklch(49.07% 0.189 330)
XYZxyz(18.6762, 10.1071, 28.1558)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972792 #27972C
analogous
#642797 #972792 #97275A
triadic
#972792 #929727 #279297
tetradic
#972792 #976427 #27972C #275A97
square
#972792 #976427 #27972C #275A97
split-complementary
#972792 #5A9727 #279764
monochromatic
#360E34 #661A63 #972792 #C834C1 #D662D1

Accessibility & contrast

On white

6.95
#972792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#972792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972792
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972792#FFFFFF#000000##FFFFFF
##9727921.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195095
Deuteranopia (green-blind)
#485F8F
Tritanopia (blue-blind)
#9D365A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972792;
/* rgb */ color: rgb(151, 39, 146);
/* oklch */ color: oklch(49.1% 0.189 330.0);
Tailwind
colors: {
  custom: {
    50: '#b96db2',
    500: '#972792',
    950: '#000000',
  },
}
SCSS
$custom: #972792;
$custom-light: #b96db2;
$custom-dark: #000000;
JSON
{
  "hex": "#972792",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 302.679,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49074,
    "c": 0.18889,
    "h": 330
  },
  "luminance": 0.10106
}

Semantic roles & 50–950 ramp

primary
#972792
secondary
#5EBC62
accent
#E24D46
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #972792

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

Preview Lab → · Contrast checker → · Palette generator →

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