#972FBD#972FBD

#972FBD is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.216 H 315.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#972FBD
RGBrgb(151, 47, 189)
HSLhsl(284, 60%, 46%)
HSVhsv(284, 75%, 74%)
CMYKcmyk(20.1%, 75.1%, 0%, 25.9%)
CIE-LABlab(41.67, 62.84, -54.14)
CIE-LCHlch(41.67, 82.94, 319.25°)
OKLaboklab(52.51% 0.1531 -0.1527)
OKLCHoklch(52.51% 0.216 315.1)
XYZxyz(22.9628, 12.2873, 49.2963)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FBD #55BD2F
analogous
#502FBD #972FBD #BD2F9C
triadic
#972FBD #BD972F #2FBD97
tetradic
#972FBD #BD502F #55BD2F #2F9CBD
square
#972FBD #BD502F #55BD2F #2F9CBD
split-complementary
#972FBD #9CBD2F #2FBD50
monochromatic
#49175B #70238C #972FBD #B255D5 #C886E1

Accessibility & contrast

On white

6.07
#972FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#972FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FBD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FBD#FFFFFF#000000##FFFFFF
##972FBD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#2965BA
Tritanopia (blue-blind)
#944F74
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #972fbd;
/* rgb */ color: rgb(151, 47, 189);
/* oklch */ color: oklch(52.5% 0.216 315.1);
Tailwind
colors: {
  custom: {
    50: '#ba72d2',
    500: '#972fbd',
    950: '#000000',
  },
}
SCSS
$custom: #972fbd;
$custom-light: #ba72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#972fbd",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 283.944,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52514,
    "c": 0.21627,
    "h": 315.1
  },
  "luminance": 0.12286
}

Semantic roles & 50–950 ramp

primary
#972FBD
secondary
#92CA7E
accent
#E3446F
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #972FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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