#972FBE#972FBE

#972FBE is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.217 H 314.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#972FBE
RGBrgb(151, 47, 190)
HSLhsl(284, 60%, 46%)
HSVhsv(284, 75%, 75%)
CMYKcmyk(20.5%, 75.3%, 0%, 25.5%)
CIE-LABlab(41.74, 63.03, -54.62)
CIE-LCHlch(41.74, 83.41, 319.09°)
OKLaboklab(52.58% 0.153 -0.1541)
OKLCHoklch(52.58% 0.217 314.8)
XYZxyz(23.0717, 12.3309, 49.8700)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FBE #56BE2F
analogous
#4F2FBE #972FBE #BE2F9E
triadic
#972FBE #BE972F #2FBE97
tetradic
#972FBE #BE4F2F #56BE2F #2F9EBE
square
#972FBE #BE4F2F #56BE2F #2F9EBE
split-complementary
#972FBE #9EBE2F #2FBE4F
monochromatic
#49175C #70238D #972FBE #B255D5 #C886E1

Accessibility & contrast

On white

6.06
#972FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #972FBE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FBE#FFFFFF#000000##FFFFFF
##972FBE1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#2865BB
Tritanopia (blue-blind)
#944F75
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #972fbe;
/* rgb */ color: rgb(151, 47, 190);
/* oklch */ color: oklch(52.6% 0.217 314.8);
Tailwind
colors: {
  custom: {
    50: '#ba73d2',
    500: '#972fbe',
    950: '#000000',
  },
}
SCSS
$custom: #972fbe;
$custom-light: #ba73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#972fbe",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 283.636,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52584,
    "c": 0.21715,
    "h": 314.8
  },
  "luminance": 0.1233
}

Semantic roles & 50–950 ramp

primary
#972FBE
secondary
#93CB7E
accent
#E34470
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #972FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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