#972793#972793

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

Color values

HEX#972793
RGBrgb(151, 39, 147)
HSLhsl(302, 59%, 37%)
HSVhsv(302, 74%, 59%)
CMYKcmyk(0%, 74.2%, 2.6%, 40.8%)
CIE-LABlab(38.09, 57.94, -34.78)
CIE-LCHlch(38.09, 67.58, 329.03°)
OKLaboklab(49.13% 0.1635 -0.0961)
OKLCHoklch(49.13% 0.19 329.6)
XYZxyz(18.7544, 10.1384, 28.5672)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972793 #27972B
analogous
#632797 #972793 #97275B
triadic
#972793 #939727 #279397
tetradic
#972793 #976327 #27972B #275B97
square
#972793 #976327 #27972B #275B97
split-complementary
#972793 #5B9727 #279763
monochromatic
#360E34 #661A64 #972793 #C834C2 #D662D2

Accessibility & contrast

On white

6.94
#972793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#972793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972793
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972793#FFFFFF#000000##FFFFFF
##9727931.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175096
Deuteranopia (green-blind)
#485F90
Tritanopia (blue-blind)
#9D375B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #972793;
/* rgb */ color: rgb(151, 39, 147);
/* oklch */ color: oklch(49.1% 0.190 329.6);
Tailwind
colors: {
  custom: {
    50: '#b96db3',
    500: '#972793',
    950: '#000000',
  },
}
SCSS
$custom: #972793;
$custom-light: #b96db3;
$custom-dark: #000000;
JSON
{
  "hex": "#972793",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 302.143,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49131,
    "c": 0.18966,
    "h": 329.6
  },
  "luminance": 0.10137
}

Semantic roles & 50–950 ramp

primary
#972793
secondary
#5EBC61
accent
#E24B46
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #972793

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

Preview Lab → · Contrast checker → · Palette generator →

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