#974CA2#974CA2

#974CA2 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.2% C 0.151 H 322.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#974CA2
RGBrgb(151, 76, 162)
HSLhsl(292, 36%, 47%)
HSVhsv(292, 53%, 64%)
CMYKcmyk(6.8%, 53.1%, 0%, 36.5%)
CIE-LABlab(44.74, 44.56, -33.31)
CIE-LCHlch(44.74, 55.63, 323.22°)
OKLaboklab(54.23% 0.1195 -0.0921)
OKLCHoklch(54.23% 0.151 322.4)
XYZxyz(21.8678, 14.3578, 35.7949)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CA2 #57A24C
analogous
#6C4CA2 #974CA2 #A24C82
triadic
#974CA2 #A2974C #4CA297
tetradic
#974CA2 #A26C4C #57A24C #4C82A2
square
#974CA2 #A26C4C #57A24C #4C82A2
split-complementary
#974CA2 #82A24C #4CA26C
monochromatic
#49254F #703878 #974CA2 #B270BC #C899CF

Accessibility & contrast

On white

5.42
#974CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#974CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CA2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CA2#FFFFFF#000000##FFFFFF
##974CA21.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A5
Deuteranopia (green-blind)
#566DA0
Tritanopia (blue-blind)
#995770
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #974ca2;
/* rgb */ color: rgb(151, 76, 162);
/* oklch */ color: oklch(54.2% 0.151 322.4);
Tailwind
colors: {
  custom: {
    50: '#b881be',
    500: '#974ca2',
    950: '#000000',
  },
}
SCSS
$custom: #974ca2;
$custom-light: #b881be;
$custom-dark: #000000;
JSON
{
  "hex": "#974ca2",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 292.326,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54225,
    "c": 0.15086,
    "h": 322.4
  },
  "luminance": 0.14357
}

Semantic roles & 50–950 ramp

primary
#974CA2
secondary
#94BC8E
accent
#CC5C6A
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #974CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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