#972FA8#972FA8

#972FA8 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.198 H 321.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#972FA8
RGBrgb(151, 47, 168)
HSLhsl(292, 56%, 42%)
HSVhsv(292, 72%, 66%)
CMYKcmyk(10.1%, 72%, 0%, 34.1%)
CIE-LABlab(40.31, 58.80, -43.90)
CIE-LCHlch(40.31, 73.38, 323.25°)
OKLaboklab(51.12% 0.1552 -0.1227)
OKLCHoklch(51.12% 0.198 321.7)
XYZxyz(20.8461, 11.4406, 38.1484)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FA8 #40A82F
analogous
#5A2FA8 #972FA8 #A82F7D
triadic
#972FA8 #A8972F #2FA897
tetradic
#972FA8 #A85A2F #40A82F #2F7DA8
square
#972FA8 #A85A2F #40A82F #2F7DA8
split-complementary
#972FA8 #7DA82F #2FA85A
monochromatic
#411448 #6C2278 #972FA8 #B948CC #CC78D9

Accessibility & contrast

On white

6.39
#972FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#972FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FA8
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FA8#FFFFFF#000000##FFFFFF
##972FA81.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#3E63A5
Tritanopia (blue-blind)
#994569
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972fa8;
/* rgb */ color: rgb(151, 47, 168);
/* oklch */ color: oklch(51.1% 0.198 321.7);
Tailwind
colors: {
  custom: {
    50: '#b972c2',
    500: '#972fa8',
    950: '#000000',
  },
}
SCSS
$custom: #972fa8;
$custom-light: #b972c2;
$custom-dark: #000000;
JSON
{
  "hex": "#972fa8",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 291.57,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51118,
    "c": 0.19787,
    "h": 321.7
  },
  "luminance": 0.11439
}

Semantic roles & 50–950 ramp

primary
#972FA8
secondary
#7DC171
accent
#E0485D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #972FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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