#972FBF#972FBF

#972FBF is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.218 H 314.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#972FBF
RGBrgb(151, 47, 191)
HSLhsl(283, 61%, 47%)
HSVhsv(283, 75%, 75%)
CMYKcmyk(20.9%, 75.4%, 0%, 25.1%)
CIE-LABlab(41.81, 63.23, -55.09)
CIE-LCHlch(41.81, 83.87, 318.93°)
OKLaboklab(52.65% 0.1528 -0.1555)
OKLCHoklch(52.65% 0.218 314.5)
XYZxyz(23.1814, 12.3747, 50.4476)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FBF #57BF2F
analogous
#4F2FBF #972FBF #BF2F9F
triadic
#972FBF #BF972F #2FBF97
tetradic
#972FBF #BF4F2F #57BF2F #2F9FBF
square
#972FBF #BF4F2F #57BF2F #2F9FBF
split-complementary
#972FBF #9FBF2F #2FBF4F
monochromatic
#49175D #70238E #972FBF #B256D5 #C887E1

Accessibility & contrast

On white

6.04
#972FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#972FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FBF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FBF#FFFFFF#000000##FFFFFF
##972FBF1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#2665BC
Tritanopia (blue-blind)
#934F75
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #972fbf;
/* rgb */ color: rgb(151, 47, 191);
/* oklch */ color: oklch(52.7% 0.218 314.5);
Tailwind
colors: {
  custom: {
    50: '#ba73d3',
    500: '#972fbf',
    950: '#000000',
  },
}
SCSS
$custom: #972fbf;
$custom-light: #ba73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#972fbf",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 283.333,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52654,
    "c": 0.21804,
    "h": 314.5
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#972FBF
secondary
#94CB7F
accent
#E44470
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #972FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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