#972BA7#972BA7

#972BA7 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.202 H 322.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#972BA7
RGBrgb(151, 43, 167)
HSLhsl(292, 59%, 41%)
HSVhsv(292, 74%, 65%)
CMYKcmyk(9.6%, 74.3%, 0%, 34.5%)
CIE-LABlab(39.75, 60.06, -44.21)
CIE-LCHlch(39.75, 74.58, 323.64°)
OKLaboklab(50.69% 0.1592 -0.1236)
OKLCHoklch(50.69% 0.202 322.2)
XYZxyz(20.6007, 11.0983, 37.6088)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BA7 #3BA72B
analogous
#592BA7 #972BA7 #A72B79
triadic
#972BA7 #A7972B #2BA797
tetradic
#972BA7 #A7592B #3BA72B #2B79A7
square
#972BA7 #A7592B #3BA72B #2B79A7
split-complementary
#972BA7 #79A72B #2BA759
monochromatic
#3F1246 #6B1E76 #972BA7 #BC41CE #CD72DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972BA7#FFFFFF#000000##FFFFFF
##972BA71.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)
#0056AA
Deuteranopia (green-blind)
#3D62A4
Tritanopia (blue-blind)
#994267
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #972ba7;
/* rgb */ color: rgb(151, 43, 167);
/* oklch */ color: oklch(50.7% 0.202 322.2);
Tailwind
colors: {
  custom: {
    50: '#b970c2',
    500: '#972ba7',
    950: '#000000',
  },
}
SCSS
$custom: #972ba7;
$custom-light: #b970c2;
$custom-dark: #000000;
JSON
{
  "hex": "#972ba7",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 292.258,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50693,
    "c": 0.20152,
    "h": 322.2
  },
  "luminance": 0.11097
}

Semantic roles & 50–950 ramp

primary
#972BA7
secondary
#77C26C
accent
#E2465A
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #972BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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