#974784#974784

#974784 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.0% C 0.132 H 337.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#974784
RGBrgb(151, 71, 132)
HSLhsl(314, 36%, 44%)
HSVhsv(314, 53%, 59%)
CMYKcmyk(0%, 53%, 12.6%, 40.8%)
CIE-LABlab(42.39, 41.60, -18.92)
CIE-LCHlch(42.39, 45.70, 335.55°)
OKLaboklab(52.03% 0.1215 -0.051)
OKLCHoklch(52.03% 0.132 337.2)
XYZxyz(19.1807, 12.7531, 23.2767)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974784 #47975A
analogous
#824797 #974784 #97475C
triadic
#974784 #849747 #478497
tetradic
#974784 #978247 #47975A #475C97
square
#974784 #978247 #47975A #475C97
split-complementary
#974784 #5C9747 #479782
monochromatic
#44203B #6D3360 #974784 #B665A3 #CA8EBC

Accessibility & contrast

On white

5.91
#974784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#974784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974784
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974784#FFFFFF#000000##FFFFFF
##9747841.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495C86
Deuteranopia (green-blind)
#5F6982
Tritanopia (blue-blind)
#9E4A5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #974784;
/* rgb */ color: rgb(151, 71, 132);
/* oklch */ color: oklch(52.0% 0.132 337.2);
Tailwind
colors: {
  custom: {
    50: '#b87ea8',
    500: '#974784',
    950: '#000000',
  },
}
SCSS
$custom: #974784;
$custom-light: #b87ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#974784",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 132
  },
  "hsl": {
    "h": 314.25,
    "s": 36.036,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52033,
    "c": 0.13172,
    "h": 337.2
  },
  "luminance": 0.12752
}

Semantic roles & 50–950 ramp

primary
#974784
secondary
#84B690
accent
#CC765C
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120A0F
muted
#817C7F

Preview Lab

Preview with #974784

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

Preview Lab → · Contrast checker → · Palette generator →

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