#974FA2#974FA2

#974FA2 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.7% C 0.146 H 322.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#974FA2
RGBrgb(151, 79, 162)
HSLhsl(292, 34%, 47%)
HSVhsv(292, 51%, 64%)
CMYKcmyk(6.8%, 51.2%, 0%, 36.5%)
CIE-LABlab(45.33, 43.00, -32.38)
CIE-LCHlch(45.33, 53.83, 323.02°)
OKLaboklab(54.66% 0.1152 -0.0895)
OKLCHoklch(54.66% 0.146 322.2)
XYZxyz(22.0794, 14.7809, 35.8654)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FA2 #5AA24F
analogous
#6D4FA2 #974FA2 #A24F84
triadic
#974FA2 #A2974F #4FA297
tetradic
#974FA2 #A26D4F #5AA24F #4F84A2
square
#974FA2 #A26D4F #5AA24F #4F84A2
split-complementary
#974FA2 #84A24F #4FA26D
monochromatic
#4A2750 #713B79 #974FA2 #B173BB #C89CCF

Accessibility & contrast

On white

5.31
#974FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#974FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974FA2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FA2#FFFFFF#000000##FFFFFF
##974FA21.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#995A71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #974fa2;
/* rgb */ color: rgb(151, 79, 162);
/* oklch */ color: oklch(54.7% 0.146 322.2);
Tailwind
colors: {
  custom: {
    50: '#b783be',
    500: '#974fa2',
    950: '#000000',
  },
}
SCSS
$custom: #974fa2;
$custom-light: #b783be;
$custom-dark: #000000;
JSON
{
  "hex": "#974fa2",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 292.048,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54661,
    "c": 0.14586,
    "h": 322.2
  },
  "luminance": 0.1478
}

Semantic roles & 50–950 ramp

primary
#974FA2
secondary
#97BC91
accent
#CB5D6C
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #974FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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