#972F87#972F87

#972F87 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.2% C 0.171 H 334.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#972F87
RGBrgb(151, 47, 135)
HSLhsl(309, 53%, 39%)
HSVhsv(309, 69%, 59%)
CMYKcmyk(0%, 68.9%, 10.6%, 40.8%)
CIE-LABlab(38.49, 53.08, -26.81)
CIE-LCHlch(38.49, 59.47, 333.21°)
OKLaboklab(49.21% 0.1543 -0.0732)
OKLCHoklch(49.21% 0.171 334.6)
XYZxyz(18.1524, 10.3631, 23.9612)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972F87 #2F973F
analogous
#732F97 #972F87 #972F53
triadic
#972F87 #87972F #2F8797
tetradic
#972F87 #97732F #2F973F #2F5397
square
#972F87 #97732F #2F973F #2F5397
split-complementary
#972F87 #53972F #2F9773
monochromatic
#3A1234 #68205D #972F87 #C340AF #D26EC3

Accessibility & contrast

On white

6.84
#972F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#972F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972F87
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972F87#FFFFFF#000000##FFFFFF
##972F871.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E518A
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#9E3757
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #972f87;
/* rgb */ color: rgb(151, 47, 135);
/* oklch */ color: oklch(49.2% 0.171 334.6);
Tailwind
colors: {
  custom: {
    50: '#b970aa',
    500: '#972f87',
    950: '#000000',
  },
}
SCSS
$custom: #972f87;
$custom-light: #b970aa;
$custom-dark: #000000;
JSON
{
  "hex": "#972f87",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 309.231,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49213,
    "c": 0.17077,
    "h": 334.6
  },
  "luminance": 0.10362
}

Semantic roles & 50–950 ramp

primary
#972F87
secondary
#68B975
accent
#DC624C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #972F87

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

Preview Lab → · Contrast checker → · Palette generator →

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