#974598#974598

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

Color values

HEX#974598
RGBrgb(151, 69, 152)
HSLhsl(299, 38%, 43%)
HSVhsv(299, 55%, 60%)
CMYKcmyk(0.7%, 54.6%, 0%, 40.4%)
CIE-LABlab(42.92, 46.17, -30.19)
CIE-LCHlch(42.92, 55.17, 326.82°)
OKLaboklab(52.72% 0.128 -0.0831)
OKLCHoklch(52.72% 0.153 327)
XYZxyz(20.5578, 13.1037, 31.1461)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974598 #469845
analogous
#6D4598 #974598 #98456F
triadic
#974598 #989745 #459897
tetradic
#974598 #986D45 #469845 #456F98
square
#974598 #986D45 #469845 #456F98
split-complementary
#974598 #6F9845 #45986D
monochromatic
#431F44 #6D326E #974598 #B762B8 #CA8CCB

Accessibility & contrast

On white

5.80
#974598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#974598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974598
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974598#FFFFFF#000000##FFFFFF
##9745981.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5F9B
Deuteranopia (green-blind)
#566996
Tritanopia (blue-blind)
#9B4F68
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #974598;
/* rgb */ color: rgb(151, 69, 152);
/* oklch */ color: oklch(52.7% 0.153 327.0);
Tailwind
colors: {
  custom: {
    50: '#b87db6',
    500: '#974598',
    950: '#000000',
  },
}
SCSS
$custom: #974598;
$custom-light: #b87db6;
$custom-dark: #000000;
JSON
{
  "hex": "#974598",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 152
  },
  "hsl": {
    "h": 299.277,
    "s": 37.557,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52722,
    "c": 0.15263,
    "h": 327
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#974598
secondary
#83B682
accent
#CE5A5C
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #974598

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

Preview Lab → · Contrast checker → · Palette generator →

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