#972899#972899

#972899 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.193 H 327.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#972899
RGBrgb(151, 40, 153)
HSLhsl(299, 59%, 38%)
HSVhsv(299, 74%, 60%)
CMYKcmyk(1.3%, 73.9%, 0%, 40%)
CIE-LABlab(38.55, 58.62, -37.70)
CIE-LCHlch(38.55, 69.69, 327.25°)
OKLaboklab(49.57% 0.1626 -0.1046)
OKLCHoklch(49.57% 0.193 327.2)
XYZxyz(19.2708, 10.3982, 31.1229)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972899 #2A9928
analogous
#5E2899 #972899 #992862
triadic
#972899 #999728 #289997
tetradic
#972899 #995E28 #2A9928 #286299
square
#972899 #995E28 #2A9928 #286299
split-complementary
#972899 #629928 #28995E
monochromatic
#370F38 #671B68 #972899 #C735CA #D565D7

Accessibility & contrast

On white

6.82
#972899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#972899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972899
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972899#FFFFFF#000000##FFFFFF
##9728991.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D529C
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#9B3A5E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #972899;
/* rgb */ color: rgb(151, 40, 153);
/* oklch */ color: oklch(49.6% 0.193 327.2);
Tailwind
colors: {
  custom: {
    50: '#b96eb7',
    500: '#972899',
    950: '#000000',
  },
}
SCSS
$custom: #972899;
$custom-light: #b96eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#972899",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 298.938,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49569,
    "c": 0.1933,
    "h": 327.2
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#972899
secondary
#62BD60
accent
#E24649
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #972899

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

Preview Lab → · Contrast checker → · Palette generator →

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