#974497#974497

#974497 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.5% C 0.153 H 327.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#974497
RGBrgb(151, 68, 151)
HSLhsl(300, 38%, 43%)
HSVhsv(300, 55%, 59%)
CMYKcmyk(0%, 55%, 0%, 40.8%)
CIE-LABlab(42.69, 46.48, -29.96)
CIE-LCHlch(42.69, 55.30, 327.20°)
OKLaboklab(52.54% 0.1293 -0.0824)
OKLCHoklch(52.54% 0.153 327.5)
XYZxyz(20.4152, 12.9491, 30.6963)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974497 #449744
analogous
#6D4497 #974497 #97446D
triadic
#974497 #979744 #449797
tetradic
#974497 #976D44 #449744 #446D97
square
#974497 #976D44 #449744 #446D97
split-complementary
#974497 #6D9744 #44976D
monochromatic
#431E43 #6D316D #974497 #B861B8 #CB8BCB

Accessibility & contrast

On white

5.85
#974497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#974497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974497
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974497#FFFFFF#000000##FFFFFF
##9744971.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #974497;
/* rgb */ color: rgb(151, 68, 151);
/* oklch */ color: oklch(52.5% 0.153 327.5);
Tailwind
colors: {
  custom: {
    50: '#b87cb6',
    500: '#974497',
    950: '#000000',
  },
}
SCSS
$custom: #974497;
$custom-light: #b87cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#974497",
  "rgb": {
    "r": 151,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 37.9,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52535,
    "c": 0.15331,
    "h": 327.5
  },
  "luminance": 0.12948
}

Semantic roles & 50–950 ramp

primary
#974497
secondary
#81B681
accent
#CE5A5A
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #974497

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

Preview Lab → · Contrast checker → · Palette generator →

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