#972BA2#972BA2

#972BA2 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.197 H 323.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#972BA2
RGBrgb(151, 43, 162)
HSLhsl(294, 58%, 40%)
HSVhsv(294, 73%, 64%)
CMYKcmyk(6.8%, 73.5%, 0%, 36.5%)
CIE-LABlab(39.44, 59.16, -41.71)
CIE-LCHlch(39.44, 72.38, 324.82°)
OKLaboklab(50.38% 0.1595 -0.1163)
OKLCHoklch(50.38% 0.197 323.9)
XYZxyz(20.1474, 10.9169, 35.2214)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BA2 #36A22B
analogous
#5C2BA2 #972BA2 #A22B71
triadic
#972BA2 #A2972B #2BA297
tetradic
#972BA2 #A25C2B #36A22B #2B71A2
square
#972BA2 #A25C2B #36A22B #2B71A2
split-complementary
#972BA2 #71A22B #2BA25C
monochromatic
#3D1141 #6A1E72 #972BA2 #BF3ECC #CF6FD9

Accessibility & contrast

On white

6.60
#972BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#972BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BA2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BA2#FFFFFF#000000##FFFFFF
##972BA21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#41619F
Tritanopia (blue-blind)
#9A4064
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #972ba2;
/* rgb */ color: rgb(151, 43, 162);
/* oklch */ color: oklch(50.4% 0.197 323.9);
Tailwind
colors: {
  custom: {
    50: '#b970be',
    500: '#972ba2',
    950: '#000000',
  },
}
SCSS
$custom: #972ba2;
$custom-light: #b970be;
$custom-dark: #000000;
JSON
{
  "hex": "#972ba2",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 294.454,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50378,
    "c": 0.19735,
    "h": 323.9
  },
  "luminance": 0.10916
}

Semantic roles & 50–950 ramp

primary
#972BA2
secondary
#71C069
accent
#E14755
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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