#972084#972084

#972084 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.186 H 335.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#972084
RGBrgb(151, 32, 132)
HSLhsl(310, 65%, 36%)
HSVhsv(310, 79%, 59%)
CMYKcmyk(0%, 78.8%, 12.6%, 40.8%)
CIE-LABlab(36.52, 57.78, -28.04)
CIE-LCHlch(36.52, 64.22, 334.11°)
OKLaboklab(47.74% 0.1693 -0.0766)
OKLCHoklch(47.74% 0.186 335.7)
XYZxyz(17.4441, 9.2799, 22.6978)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972084 #209733
analogous
#6E2097 #972084 #972048
triadic
#972084 #849720 #208497
tetradic
#972084 #976E20 #209733 #204897
square
#972084 #976E20 #209733 #204897
split-complementary
#972084 #489720 #20976E
monochromatic
#320B2C #641558 #972084 #C92BB0 #DB56C6

Accessibility & contrast

On white

7.35
#972084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#972084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972084
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972084#FFFFFF#000000##FFFFFF
##9720841.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B87
Deuteranopia (green-blind)
#4D5C81
Tritanopia (blue-blind)
#9F2A51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972084;
/* rgb */ color: rgb(151, 32, 132);
/* oklch */ color: oklch(47.7% 0.186 335.7);
Tailwind
colors: {
  custom: {
    50: '#b96aa8',
    500: '#972084',
    950: '#000000',
  },
}
SCSS
$custom: #972084;
$custom-light: #b96aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#972084",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 309.58,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47743,
    "c": 0.1858,
    "h": 335.7
  },
  "luminance": 0.09278
}

Semantic roles & 50–950 ramp

primary
#972084
secondary
#54BF65
accent
#E85B40
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #972084

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

Preview Lab → · Contrast checker → · Palette generator →

#972084 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva