#972FB7#972FB7

#972FB7 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.211 H 316.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#972FB7
RGBrgb(151, 47, 183)
HSLhsl(286, 59%, 45%)
HSVhsv(286, 74%, 72%)
CMYKcmyk(17.5%, 74.3%, 0%, 28.2%)
CIE-LABlab(41.27, 61.66, -51.27)
CIE-LCHlch(41.27, 80.19, 320.26°)
OKLaboklab(52.1% 0.1539 -0.1443)
OKLCHoklch(52.1% 0.211 316.8)
XYZxyz(22.3250, 12.0322, 45.9370)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FB7 #4FB72F
analogous
#532FB7 #972FB7 #B72F93
triadic
#972FB7 #B7972F #2FB797
tetradic
#972FB7 #B7532F #4FB72F #2F93B7
square
#972FB7 #B7532F #4FB72F #2F93B7
split-complementary
#972FB7 #93B72F #2FB753
monochromatic
#471656 #6F2286 #972FB7 #B451D2 #C982DF

Accessibility & contrast

On white

6.17
#972FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#972FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FB7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FB7#FFFFFF#000000##FFFFFF
##972FB71.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#3164B4
Tritanopia (blue-blind)
#954C71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #972fb7;
/* rgb */ color: rgb(151, 47, 183);
/* oklch */ color: oklch(52.1% 0.211 316.8);
Tailwind
colors: {
  custom: {
    50: '#ba72cd',
    500: '#972fb7',
    950: '#000000',
  },
}
SCSS
$custom: #972fb7;
$custom-light: #ba72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#972fb7",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 285.882,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52102,
    "c": 0.21096,
    "h": 316.8
  },
  "luminance": 0.12031
}

Semantic roles & 50–950 ramp

primary
#972FB7
secondary
#8CC87A
accent
#E2456A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #972FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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