#974097#974097

#974097 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.0% C 0.160 H 327.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#974097
RGBrgb(151, 64, 151)
HSLhsl(300, 40%, 42%)
HSVhsv(300, 58%, 59%)
CMYKcmyk(0%, 57.6%, 0%, 40.8%)
CIE-LABlab(41.97, 48.41, -31.08)
CIE-LCHlch(41.97, 57.53, 327.30°)
OKLaboklab(52.01% 0.1347 -0.0856)
OKLCHoklch(52.01% 0.16 327.6)
XYZxyz(20.1815, 12.4817, 30.6184)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974097 #409740
analogous
#6C4097 #974097 #97406C
triadic
#974097 #979740 #409797
tetradic
#974097 #976C40 #409740 #406C97
square
#974097 #976C40 #409740 #406C97
split-complementary
#974097 #6C9740 #40976C
monochromatic
#411C41 #6C2E6C #974097 #B95BB9 #CC86CC

Accessibility & contrast

On white

6.01
#974097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#974097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974097
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974097#FFFFFF#000000##FFFFFF
##9740971.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#536795
Tritanopia (blue-blind)
#9B4A65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #974097;
/* rgb */ color: rgb(151, 64, 151);
/* oklch */ color: oklch(52.0% 0.160 327.6);
Tailwind
colors: {
  custom: {
    50: '#b87ab6',
    500: '#974097',
    950: '#000000',
  },
}
SCSS
$custom: #974097;
$custom-light: #b87ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#974097",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52011,
    "c": 0.15962,
    "h": 327.6
  },
  "luminance": 0.1248
}

Semantic roles & 50–950 ramp

primary
#974097
secondary
#7DB67D
accent
#D05757
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120911
muted
#817B80

Preview Lab

Preview with #974097

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

Preview Lab → · Contrast checker → · Palette generator →

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