#974597#974597

#974597 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.7% C 0.152 H 327.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#974597
RGBrgb(151, 69, 151)
HSLhsl(300, 37%, 43%)
HSVhsv(300, 54%, 59%)
CMYKcmyk(0%, 54.3%, 0%, 40.8%)
CIE-LABlab(42.87, 45.99, -29.67)
CIE-LCHlch(42.87, 54.73, 327.17°)
OKLaboklab(52.67% 0.1279 -0.0816)
OKLCHoklch(52.67% 0.152 327.5)
XYZxyz(20.4762, 13.0711, 30.7166)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974597 #459745
analogous
#6E4597 #974597 #97456E
triadic
#974597 #979745 #459797
tetradic
#974597 #976E45 #459745 #456E97
square
#974597 #976E45 #459745 #456E97
split-complementary
#974597 #6E9745 #45976E
monochromatic
#431F43 #6D326D #974597 #B762B7 #CA8CCA

Accessibility & contrast

On white

5.81
#974597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#974597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974597
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974597#FFFFFF#000000##FFFFFF
##9745971.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E9A
Deuteranopia (green-blind)
#576995
Tritanopia (blue-blind)
#9B4E67
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #974597;
/* rgb */ color: rgb(151, 69, 151);
/* oklch */ color: oklch(52.7% 0.152 327.5);
Tailwind
colors: {
  custom: {
    50: '#b87db6',
    500: '#974597',
    950: '#000000',
  },
}
SCSS
$custom: #974597;
$custom-light: #b87db6;
$custom-dark: #000000;
JSON
{
  "hex": "#974597",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 37.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5267,
    "c": 0.15169,
    "h": 327.5
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#974597
secondary
#82B682
accent
#CD5B5B
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #974597

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

Preview Lab → · Contrast checker → · Palette generator →

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