#972FBC#972FBC

#972FBC is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.215 H 315.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#972FBC
RGBrgb(151, 47, 188)
HSLhsl(284, 60%, 46%)
HSVhsv(284, 75%, 74%)
CMYKcmyk(19.7%, 75%, 0%, 26.3%)
CIE-LABlab(41.60, 62.64, -53.67)
CIE-LCHlch(41.60, 82.48, 319.41°)
OKLaboklab(52.45% 0.1533 -0.1513)
OKLCHoklch(52.45% 0.215 315.4)
XYZxyz(22.8546, 12.2440, 48.7266)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FBC #54BC2F
analogous
#502FBC #972FBC #BC2F9A
triadic
#972FBC #BC972F #2FBC97
tetradic
#972FBC #BC502F #54BC2F #2F9ABC
square
#972FBC #BC502F #54BC2F #2F9ABC
split-complementary
#972FBC #9ABC2F #2FBC50
monochromatic
#48175A #70238B #972FBC #B354D4 #C885E0

Accessibility & contrast

On white

6.09
#972FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#972FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FBC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FBC#FFFFFF#000000##FFFFFF
##972FBC1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#2A65B9
Tritanopia (blue-blind)
#944E74
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #972fbc;
/* rgb */ color: rgb(151, 47, 188);
/* oklch */ color: oklch(52.4% 0.215 315.4);
Tailwind
colors: {
  custom: {
    50: '#ba72d1',
    500: '#972fbc',
    950: '#000000',
  },
}
SCSS
$custom: #972fbc;
$custom-light: #ba72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#972fbc",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 284.255,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52445,
    "c": 0.21538,
    "h": 315.4
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#972FBC
secondary
#91CA7D
accent
#E3456E
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #972FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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