#972AAF#972AAF

#972AAF is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.209 H 319.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#972AAF
RGBrgb(151, 42, 175)
HSLhsl(289, 61%, 43%)
HSVhsv(289, 76%, 69%)
CMYKcmyk(13.7%, 76%, 0%, 31.4%)
CIE-LABlab(40.13, 61.88, -48.36)
CIE-LCHlch(40.13, 78.53, 321.99°)
OKLaboklab(51.13% 0.1594 -0.1357)
OKLCHoklch(51.13% 0.209 319.6)
XYZxyz(21.3273, 11.3315, 41.6129)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972AAF #42AF2A
analogous
#552AAF #972AAF #AF2A84
triadic
#972AAF #AF972A #2AAF97
tetradic
#972AAF #AF552A #42AF2A #2A84AF
square
#972AAF #AF552A #42AF2A #2A84AF
split-complementary
#972AAF #84AF2A #2AAF55
monochromatic
#42124C #6C1E7E #972AAF #B844D2 #CB75DE

Accessibility & contrast

On white

6.43
#972AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#972AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972AAF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972AAF#FFFFFF#000000##FFFFFF
##972AAF1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#3562AC
Tritanopia (blue-blind)
#97466B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972aaf;
/* rgb */ color: rgb(151, 42, 175);
/* oklch */ color: oklch(51.1% 0.209 319.6);
Tailwind
colors: {
  custom: {
    50: '#ba70c7',
    500: '#972aaf',
    950: '#000000',
  },
}
SCSS
$custom: #972aaf;
$custom-light: #ba70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#972aaf",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 289.173,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51131,
    "c": 0.20933,
    "h": 319.6
  },
  "luminance": 0.1133
}

Semantic roles & 50–950 ramp

primary
#972AAF
secondary
#7FC66F
accent
#E44360
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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