#974AA2#974AA2

#974AA2 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 53.9% C 0.154 H 322.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#974AA2
RGBrgb(151, 74, 162)
HSLhsl(293, 37%, 46%)
HSVhsv(293, 54%, 64%)
CMYKcmyk(6.8%, 54.3%, 0%, 36.5%)
CIE-LABlab(44.36, 45.59, -33.91)
CIE-LCHlch(44.36, 56.82, 323.35°)
OKLaboklab(53.94% 0.1223 -0.0939)
OKLCHoklch(53.94% 0.154 322.5)
XYZxyz(21.7322, 14.0865, 35.7497)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974AA2 #55A24A
analogous
#6B4AA2 #974AA2 #A24A81
triadic
#974AA2 #A2974A #4AA297
tetradic
#974AA2 #A26B4A #55A24A #4A81A2
square
#974AA2 #A26B4A #55A24A #4A81A2
split-complementary
#974AA2 #81A24A #4AA26B
monochromatic
#49244E #703778 #974AA2 #B26DBC #C897CF

Accessibility & contrast

On white

5.50
#974AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#974AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974AA2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974AA2#FFFFFF#000000##FFFFFF
##974AA21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A5
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#99566F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #974aa2;
/* rgb */ color: rgb(151, 74, 162);
/* oklch */ color: oklch(53.9% 0.154 322.5);
Tailwind
colors: {
  custom: {
    50: '#b880be',
    500: '#974aa2',
    950: '#000000',
  },
}
SCSS
$custom: #974aa2;
$custom-light: #b880be;
$custom-dark: #000000;
JSON
{
  "hex": "#974aa2",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 292.5,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53941,
    "c": 0.15415,
    "h": 322.5
  },
  "luminance": 0.14086
}

Semantic roles & 50–950 ramp

primary
#974AA2
secondary
#92BC8C
accent
#CD5B69
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#120A12
muted
#817C81

Preview Lab

Preview with #974AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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