#974897#974897

#974897 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.1% C 0.147 H 327.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#974897
RGBrgb(151, 72, 151)
HSLhsl(300, 35%, 44%)
HSVhsv(300, 52%, 59%)
CMYKcmyk(0%, 52.3%, 0%, 40.8%)
CIE-LABlab(43.43, 44.48, -28.79)
CIE-LCHlch(43.43, 52.98, 327.09°)
OKLaboklab(53.08% 0.1237 -0.0791)
OKLCHoklch(53.08% 0.147 327.4)
XYZxyz(20.6654, 13.4496, 30.7797)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974897 #489748
analogous
#6F4897 #974897 #97486F
triadic
#974897 #979748 #489797
tetradic
#974897 #976F48 #489748 #486F97
square
#974897 #976F48 #489748 #486F97
split-complementary
#974897 #6F9748 #48976F
monochromatic
#442044 #6E346E #974897 #B666B6 #CA90CA

Accessibility & contrast

On white

5.69
#974897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#974897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974897
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974897#FFFFFF#000000##FFFFFF
##9748971.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40609A
Deuteranopia (green-blind)
#596A95
Tritanopia (blue-blind)
#9B5169
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #974897;
/* rgb */ color: rgb(151, 72, 151);
/* oklch */ color: oklch(53.1% 0.147 327.4);
Tailwind
colors: {
  custom: {
    50: '#b87fb6',
    500: '#974897',
    950: '#000000',
  },
}
SCSS
$custom: #974897;
$custom-light: #b87fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#974897",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 35.426,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53084,
    "c": 0.14678,
    "h": 327.4
  },
  "luminance": 0.13448
}

Semantic roles & 50–950 ramp

primary
#974897
secondary
#85B685
accent
#CB5C5C
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #974897

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

Preview Lab → · Contrast checker → · Palette generator →

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