#972DA3#972DA3

#972DA3 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.196 H 323.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#972DA3
RGBrgb(151, 45, 163)
HSLhsl(294, 57%, 41%)
HSVhsv(294, 72%, 64%)
CMYKcmyk(7.4%, 72.4%, 0%, 36.1%)
CIE-LABlab(39.75, 58.62, -41.81)
CIE-LCHlch(39.75, 72.00, 324.50°)
OKLaboklab(50.62% 0.1575 -0.1166)
OKLCHoklch(50.62% 0.196 323.5)
XYZxyz(20.3111, 11.1016, 35.7162)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DA3 #39A32D
analogous
#5C2DA3 #972DA3 #A32D74
triadic
#972DA3 #A3972D #2DA397
tetradic
#972DA3 #A35C2D #39A32D #2D74A3
square
#972DA3 #A35C2D #39A32D #2D74A3
split-complementary
#972DA3 #74A32D #2DA35C
monochromatic
#3E1343 #6B2073 #972DA3 #BD42CB #CE72D8

Accessibility & contrast

On white

6.52
#972DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#972DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972DA3
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972DA3#FFFFFF#000000##FFFFFF
##972DA31.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#4162A0
Tritanopia (blue-blind)
#9A4265
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #972da3;
/* rgb */ color: rgb(151, 45, 163);
/* oklch */ color: oklch(50.6% 0.196 323.5);
Tailwind
colors: {
  custom: {
    50: '#b971bf',
    500: '#972da3',
    950: '#000000',
  },
}
SCSS
$custom: #972da3;
$custom-light: #b971bf;
$custom-dark: #000000;
JSON
{
  "hex": "#972da3",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 293.898,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50619,
    "c": 0.19592,
    "h": 323.5
  },
  "luminance": 0.111
}

Semantic roles & 50–950 ramp

primary
#972DA3
secondary
#75C06C
accent
#E04857
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972DA3

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

Preview Lab → · Contrast checker → · Palette generator →

#972DA3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva