#972E97#972E97

#972E97 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.0% C 0.185 H 327.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#972E97
RGBrgb(151, 46, 151)
HSLhsl(300, 53%, 39%)
HSVhsv(300, 70%, 59%)
CMYKcmyk(0%, 69.5%, 0%, 40.8%)
CIE-LABlab(39.19, 56.13, -35.47)
CIE-LCHlch(39.19, 66.40, 327.71°)
OKLaboklab(49.99% 0.1565 -0.0981)
OKLCHoklch(49.99% 0.185 327.9)
XYZxyz(19.3252, 10.7690, 30.3329)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972E97 #2E972E
analogous
#622E97 #972E97 #972E62
triadic
#972E97 #97972E #2E9797
tetradic
#972E97 #97622E #2E972E #2E6297
square
#972E97 #97622E #2E972E #2E6297
split-complementary
#972E97 #62972E #2E9762
monochromatic
#391139 #682068 #972E97 #C43EC4 #D26DD2

Accessibility & contrast

On white

6.66
#972E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#972E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972E97
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972E97#FFFFFF#000000##FFFFFF
##972E971.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549A
Deuteranopia (green-blind)
#496194
Tritanopia (blue-blind)
#9C3D5F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #972e97;
/* rgb */ color: rgb(151, 46, 151);
/* oklch */ color: oklch(50.0% 0.185 327.9);
Tailwind
colors: {
  custom: {
    50: '#b970b6',
    500: '#972e97',
    950: '#000000',
  },
}
SCSS
$custom: #972e97;
$custom-light: #b970b6;
$custom-dark: #000000;
JSON
{
  "hex": "#972e97",
  "rgb": {
    "r": 151,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49992,
    "c": 0.18475,
    "h": 327.9
  },
  "luminance": 0.10768
}

Semantic roles & 50–950 ramp

primary
#972E97
secondary
#67BA67
accent
#DD4B4B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #972E97

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

Preview Lab → · Contrast checker → · Palette generator →

#972E97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva