#974B98#974B98

#974B98 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.6% C 0.143 H 326.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#974B98
RGBrgb(151, 75, 152)
HSLhsl(299, 34%, 45%)
HSVhsv(299, 51%, 60%)
CMYKcmyk(0.7%, 50.7%, 0%, 40.4%)
CIE-LABlab(44.06, 43.13, -28.41)
CIE-LCHlch(44.06, 51.65, 326.63°)
OKLaboklab(53.56% 0.1195 -0.078)
OKLCHoklch(53.56% 0.143 326.9)
XYZxyz(20.9457, 13.8796, 31.2754)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974B98 #4C984B
analogous
#714B98 #974B98 #984B73
triadic
#974B98 #98974B #4B9897
tetradic
#974B98 #98714B #4C984B #4B7398
square
#974B98 #98714B #4C984B #4B7398
split-complementary
#974B98 #73984B #4B9871
monochromatic
#462346 #6E376F #974B98 #B56AB6 #C993CA

Accessibility & contrast

On white

5.56
#974B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#974B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974B98
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974B98#FFFFFF#000000##FFFFFF
##974B981.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629B
Deuteranopia (green-blind)
#5A6C96
Tritanopia (blue-blind)
#9B536A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #974b98;
/* rgb */ color: rgb(151, 75, 152);
/* oklch */ color: oklch(53.6% 0.143 326.9);
Tailwind
colors: {
  custom: {
    50: '#b780b6',
    500: '#974b98',
    950: '#000000',
  },
}
SCSS
$custom: #974b98;
$custom-light: #b780b6;
$custom-dark: #000000;
JSON
{
  "hex": "#974b98",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 299.221,
    "s": 33.921,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53563,
    "c": 0.1427,
    "h": 326.9
  },
  "luminance": 0.13878
}

Semantic roles & 50–950 ramp

primary
#974B98
secondary
#89B689
accent
#CA5E5F
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120A11
muted
#817C80

Preview Lab

Preview with #974B98

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

Preview Lab → · Contrast checker → · Palette generator →

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