#974F97#974F97

#974F97 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.1% C 0.135 H 327.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#974F97
RGBrgb(151, 79, 151)
HSLhsl(300, 31%, 45%)
HSVhsv(300, 48%, 59%)
CMYKcmyk(0%, 47.7%, 0%, 40.8%)
CIE-LABlab(44.81, 40.85, -26.64)
CIE-LCHlch(44.81, 48.77, 326.89°)
OKLaboklab(54.1% 0.1134 -0.073)
OKLCHoklch(54.1% 0.135 327.2)
XYZxyz(21.1440, 14.4067, 30.9392)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974F97 #4F974F
analogous
#734F97 #974F97 #974F73
triadic
#974F97 #97974F #4F9797
tetradic
#974F97 #97734F #4F974F #4F7397
square
#974F97 #97734F #4F974F #4F7397
split-complementary
#974F97 #73974F #4F9773
monochromatic
#472547 #6F3A6F #974F97 #B46FB4 #C998C9

Accessibility & contrast

On white

5.41
#974F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#974F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974F97
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974F97#FFFFFF#000000##FFFFFF
##974F971.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496499
Deuteranopia (green-blind)
#5D6D95
Tritanopia (blue-blind)
#9B576C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #974f97;
/* rgb */ color: rgb(151, 79, 151);
/* oklch */ color: oklch(54.1% 0.135 327.2);
Tailwind
colors: {
  custom: {
    50: '#b783b6',
    500: '#974f97',
    950: '#000000',
  },
}
SCSS
$custom: #974f97;
$custom-light: #b783b6;
$custom-dark: #000000;
JSON
{
  "hex": "#974f97",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 31.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54103,
    "c": 0.13488,
    "h": 327.2
  },
  "luminance": 0.14406
}

Semantic roles & 50–950 ramp

primary
#974F97
secondary
#8CB68C
accent
#C76060
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #974F97

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

Preview Lab → · Contrast checker → · Palette generator →

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