#974DA5#974DA5

#974DA5 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.5% C 0.152 H 321.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#974DA5
RGBrgb(151, 77, 165)
HSLhsl(290, 36%, 47%)
HSVhsv(290, 53%, 65%)
CMYKcmyk(8.5%, 53.3%, 0%, 35.3%)
CIE-LABlab(45.09, 44.65, -34.54)
CIE-LCHlch(45.09, 56.45, 322.27°)
OKLaboklab(54.53% 0.1184 -0.0957)
OKLCHoklch(54.53% 0.152 321.1)
XYZxyz(22.2071, 14.6046, 37.2392)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DA5 #5BA54D
analogous
#6B4DA5 #974DA5 #A54D87
triadic
#974DA5 #A5974D #4DA597
tetradic
#974DA5 #A56B4D #5BA54D #4D87A5
square
#974DA5 #A56B4D #5BA54D #4D87A5
split-complementary
#974DA5 #87A54D #4DA56B
monochromatic
#4B2652 #713A7B #974DA5 #B172BD #C89CD1

Accessibility & contrast

On white

5.36
#974DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#974DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974DA5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974DA5#FFFFFF#000000##FFFFFF
##974DA51.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E65A8
Deuteranopia (green-blind)
#556EA3
Tritanopia (blue-blind)
#985972
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #974da5;
/* rgb */ color: rgb(151, 77, 165);
/* oklch */ color: oklch(54.5% 0.152 321.1);
Tailwind
colors: {
  custom: {
    50: '#b882c0',
    500: '#974da5',
    950: '#000000',
  },
}
SCSS
$custom: #974da5;
$custom-light: #b882c0;
$custom-dark: #000000;
JSON
{
  "hex": "#974da5",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 290.455,
    "s": 36.364,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54529,
    "c": 0.15226,
    "h": 321.1
  },
  "luminance": 0.14604
}

Semantic roles & 50–950 ramp

primary
#974DA5
secondary
#98BD90
accent
#CC5B6D
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #974DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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