#972FAF#972FAF

#972FAF is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.204 H 319.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#972FAF
RGBrgb(151, 47, 175)
HSLhsl(289, 58%, 44%)
HSVhsv(289, 73%, 69%)
CMYKcmyk(13.7%, 73.1%, 0%, 31.4%)
CIE-LABlab(40.75, 60.12, -47.37)
CIE-LCHlch(40.75, 76.54, 321.76°)
OKLaboklab(51.57% 0.1547 -0.1329)
OKLCHoklch(51.57% 0.204 319.3)
XYZxyz(21.5159, 11.7085, 41.6758)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FAF #47AF2F
analogous
#572FAF #972FAF #AF2F87
triadic
#972FAF #AF972F #2FAF97
tetradic
#972FAF #AF572F #47AF2F #2F87AF
square
#972FAF #AF572F #47AF2F #2F87AF
split-complementary
#972FAF #87AF2F #2FAF57
monochromatic
#44154F #6D227F #972FAF #B64CCF #CA7CDC

Accessibility & contrast

On white

6.28
#972FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#972FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FAF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FAF#FFFFFF#000000##FFFFFF
##972FAF1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3964AC
Tritanopia (blue-blind)
#97486C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972faf;
/* rgb */ color: rgb(151, 47, 175);
/* oklch */ color: oklch(51.6% 0.204 319.3);
Tailwind
colors: {
  custom: {
    50: '#b972c7',
    500: '#972faf',
    950: '#000000',
  },
}
SCSS
$custom: #972faf;
$custom-light: #b972c7;
$custom-dark: #000000;
JSON
{
  "hex": "#972faf",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 288.75,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51568,
    "c": 0.20394,
    "h": 319.3
  },
  "luminance": 0.11707
}

Semantic roles & 50–950 ramp

primary
#972FAF
secondary
#84C475
accent
#E14764
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #972FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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