#974CA5#974CA5

#974CA5 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.4% C 0.154 H 321.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#974CA5
RGBrgb(151, 76, 165)
HSLhsl(291, 37%, 47%)
HSVhsv(291, 54%, 65%)
CMYKcmyk(8.5%, 53.9%, 0%, 35.3%)
CIE-LABlab(44.89, 45.16, -34.85)
CIE-LCHlch(44.89, 57.04, 322.35°)
OKLaboklab(54.39% 0.1198 -0.0966)
OKLCHoklch(54.39% 0.154 321.1)
XYZxyz(22.1377, 14.4658, 37.2161)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CA5 #5AA54C
analogous
#6B4CA5 #974CA5 #A54C86
triadic
#974CA5 #A5974C #4CA597
tetradic
#974CA5 #A56B4C #5AA54C #4C86A5
square
#974CA5 #A56B4C #5AA54C #4C86A5
split-complementary
#974CA5 #86A54C #4CA56B
monochromatic
#4A2551 #71397B #974CA5 #B171BD #C89BD1

Accessibility & contrast

On white

5.39
#974CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#974CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CA5
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CA5#FFFFFF#000000##FFFFFF
##974CA51.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A8
Deuteranopia (green-blind)
#556DA3
Tritanopia (blue-blind)
#985871
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #974ca5;
/* rgb */ color: rgb(151, 76, 165);
/* oklch */ color: oklch(54.4% 0.154 321.1);
Tailwind
colors: {
  custom: {
    50: '#b881c0',
    500: '#974ca5',
    950: '#000000',
  },
}
SCSS
$custom: #974ca5;
$custom-light: #b881c0;
$custom-dark: #000000;
JSON
{
  "hex": "#974ca5",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 290.562,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54386,
    "c": 0.1539,
    "h": 321.1
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#974CA5
secondary
#97BD8F
accent
#CD5B6D
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #974CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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