#972FAA#972FAA

#972FAA is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.200 H 321.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#972FAA
RGBrgb(151, 47, 170)
HSLhsl(291, 57%, 43%)
HSVhsv(291, 72%, 67%)
CMYKcmyk(11.2%, 72.4%, 0%, 33.3%)
CIE-LABlab(40.44, 59.18, -44.90)
CIE-LCHlch(40.44, 74.28, 322.81°)
OKLaboklab(51.25% 0.1551 -0.1256)
OKLCHoklch(51.25% 0.2 321)
XYZxyz(21.0339, 11.5157, 39.1373)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FAA #42AA2F
analogous
#5A2FAA #972FAA #AA2F7F
triadic
#972FAA #AA972F #2FAA97
tetradic
#972FAA #AA5A2F #42AA2F #2F7FAA
square
#972FAA #AA5A2F #42AA2F #2F7FAA
split-complementary
#972FAA #7FAA2F #2FAA5A
monochromatic
#42144A #6C227A #972FAA #B849CD #CB79DA

Accessibility & contrast

On white

6.36
#972FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#972FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FAA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FAA#FFFFFF#000000##FFFFFF
##972FAA1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#3D63A7
Tritanopia (blue-blind)
#98466A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972faa;
/* rgb */ color: rgb(151, 47, 170);
/* oklch */ color: oklch(51.2% 0.200 321.0);
Tailwind
colors: {
  custom: {
    50: '#b972c4',
    500: '#972faa',
    950: '#000000',
  },
}
SCSS
$custom: #972faa;
$custom-light: #b972c4;
$custom-dark: #000000;
JSON
{
  "hex": "#972faa",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 290.732,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51245,
    "c": 0.1996,
    "h": 321
  },
  "luminance": 0.11515
}

Semantic roles & 50–950 ramp

primary
#972FAA
secondary
#7FC272
accent
#E0485F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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