#972BC8#972BC8

#972BC8 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 53.0% C 0.230 H 312.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#972BC8
RGBrgb(151, 43, 200)
HSLhsl(281, 65%, 48%)
HSVhsv(281, 79%, 78%)
CMYKcmyk(24.5%, 78.5%, 0%, 21.6%)
CIE-LABlab(41.97, 66.40, -60.08)
CIE-LCHlch(41.97, 89.55, 317.86°)
OKLaboklab(52.97% 0.1546 -0.1701)
OKLCHoklch(52.97% 0.23 312.3)
XYZxyz(24.0498, 12.4779, 55.7740)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BC8 #5CC82B
analogous
#492BC8 #972BC8 #C82BAA
triadic
#972BC8 #C8972B #2BC897
tetradic
#972BC8 #C8492B #5CC82B #2BAAC8
square
#972BC8 #C8492B #5CC82B #2BAAC8
split-complementary
#972BC8 #AAC82B #2BC849
monochromatic
#4B1563 #712096 #972BC8 #B156DB #C888E5

Accessibility & contrast

On white

6.01
#972BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#972BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BC8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BC8#FFFFFF#000000##FFFFFF
##972BC81.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0965C5
Tritanopia (blue-blind)
#91527A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #972bc8;
/* rgb */ color: rgb(151, 43, 200);
/* oklch */ color: oklch(53.0% 0.230 312.3);
Tailwind
colors: {
  custom: {
    50: '#bb71da',
    500: '#972bc8',
    950: '#000000',
  },
}
SCSS
$custom: #972bc8;
$custom-light: #bb71da;
$custom-dark: #000000;
JSON
{
  "hex": "#972bc8",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 200
  },
  "hsl": {
    "h": 281.274,
    "s": 64.609,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52967,
    "c": 0.2299,
    "h": 312.3
  },
  "luminance": 0.12477
}

Semantic roles & 50–950 ramp

primary
#972BC8
secondary
#99CF80
accent
#E84074
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #972BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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