#974C8A#974C8A

#974C8A is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.0% C 0.128 H 334.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#974C8A
RGBrgb(151, 76, 138)
HSLhsl(310, 33%, 45%)
HSVhsv(310, 50%, 59%)
CMYKcmyk(0%, 49.7%, 8.6%, 40.8%)
CIE-LABlab(43.63, 40.04, -20.65)
CIE-LCHlch(43.63, 45.05, 332.72°)
OKLaboklab(53.04% 0.1153 -0.0559)
OKLCHoklch(53.04% 0.128 334.1)
XYZxyz(19.9344, 13.5844, 25.6119)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974C8A #4C9759
analogous
#7F4C97 #974C8A #974C65
triadic
#974C8A #8A974C #4C8A97
tetradic
#974C8A #977F4C #4C9759 #4C6597
square
#974C8A #977F4C #4C9759 #4C6597
split-complementary
#974C8A #65974C #4C977F
monochromatic
#462340 #6E3865 #974C8A #B56BA8 #C994C0

Accessibility & contrast

On white

5.65
#974C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#974C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974C8A
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974C8A#FFFFFF#000000##FFFFFF
##974C8A1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#606B88
Tritanopia (blue-blind)
#9D5064
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #974c8a;
/* rgb */ color: rgb(151, 76, 138);
/* oklch */ color: oklch(53.0% 0.128 334.1);
Tailwind
colors: {
  custom: {
    50: '#b781ac',
    500: '#974c8a',
    950: '#000000',
  },
}
SCSS
$custom: #974c8a;
$custom-light: #b781ac;
$custom-dark: #000000;
JSON
{
  "hex": "#974c8a",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 310.4,
    "s": 33.04,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53039,
    "c": 0.12811,
    "h": 334.1
  },
  "luminance": 0.13583
}

Semantic roles & 50–950 ramp

primary
#974C8A
secondary
#89B691
accent
#C9715F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #974C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#974C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva