#974DA2#974DA2

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

Color values

HEX#974DA2
RGBrgb(151, 77, 162)
HSLhsl(292, 36%, 47%)
HSVhsv(292, 52%, 64%)
CMYKcmyk(6.8%, 52.5%, 0%, 36.5%)
CIE-LABlab(44.94, 44.04, -33.00)
CIE-LCHlch(44.94, 55.03, 323.16°)
OKLaboklab(54.37% 0.1181 -0.0912)
OKLCHoklch(54.37% 0.149 322.3)
XYZxyz(21.9373, 14.4967, 35.8180)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DA2 #58A24D
analogous
#6D4DA2 #974DA2 #A24D83
triadic
#974DA2 #A2974D #4DA297
tetradic
#974DA2 #A26D4D #58A24D #4D83A2
square
#974DA2 #A26D4D #58A24D #4D83A2
split-complementary
#974DA2 #83A24D #4DA26D
monochromatic
#4A264F #703979 #974DA2 #B271BB #C89ACF

Accessibility & contrast

On white

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

On black

3.90
#974DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##974DA2#FFFFFF#000000##FFFFFF
##974DA21.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#576DA0
Tritanopia (blue-blind)
#995870
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #974da2;
/* rgb */ color: rgb(151, 77, 162);
/* oklch */ color: oklch(54.4% 0.149 322.3);
Tailwind
colors: {
  custom: {
    50: '#b882be',
    500: '#974da2',
    950: '#000000',
  },
}
SCSS
$custom: #974da2;
$custom-light: #b882be;
$custom-dark: #000000;
JSON
{
  "hex": "#974da2",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 292.235,
    "s": 35.565,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54369,
    "c": 0.14921,
    "h": 322.3
  },
  "luminance": 0.14496
}

Semantic roles & 50–950 ramp

primary
#974DA2
secondary
#95BC8F
accent
#CC5C6B
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #974DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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