#972FBA#972FBA

#972FBA is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.214 H 316.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#972FBA
RGBrgb(151, 47, 186)
HSLhsl(285, 60%, 46%)
HSVhsv(285, 75%, 73%)
CMYKcmyk(18.8%, 74.7%, 0%, 27.1%)
CIE-LABlab(41.47, 62.24, -52.71)
CIE-LCHlch(41.47, 81.56, 319.74°)
OKLaboklab(52.31% 0.1535 -0.1485)
OKLCHoklch(52.31% 0.214 316)
XYZxyz(22.6405, 12.1584, 47.5991)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FBA #52BA2F
analogous
#512FBA #972FBA #BA2F97
triadic
#972FBA #BA972F #2FBA97
tetradic
#972FBA #BA512F #52BA2F #2F97BA
square
#972FBA #BA512F #52BA2F #2F97BA
split-complementary
#972FBA #97BA2F #2FBA51
monochromatic
#481658 #6F2389 #972FBA #B353D3 #C984E0

Accessibility & contrast

On white

6.12
#972FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#972FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FBA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FBA#FFFFFF#000000##FFFFFF
##972FBA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#2D65B7
Tritanopia (blue-blind)
#954D73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #972fba;
/* rgb */ color: rgb(151, 47, 186);
/* oklch */ color: oklch(52.3% 0.214 316.0);
Tailwind
colors: {
  custom: {
    50: '#ba72cf',
    500: '#972fba',
    950: '#000000',
  },
}
SCSS
$custom: #972fba;
$custom-light: #ba72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#972fba",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 284.892,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52307,
    "c": 0.21362,
    "h": 316
  },
  "luminance": 0.12158
}

Semantic roles & 50–950 ramp

primary
#972FBA
secondary
#8FC97C
accent
#E3456D
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #972FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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