#972284#972284

#972284 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.184 H 335.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#972284
RGBrgb(151, 34, 132)
HSLhsl(310, 63%, 36%)
HSVhsv(310, 77%, 59%)
CMYKcmyk(0%, 77.5%, 12.6%, 40.8%)
CIE-LABlab(36.73, 57.18, -27.71)
CIE-LCHlch(36.73, 63.54, 334.14°)
OKLaboklab(47.89% 0.1675 -0.0757)
OKLCHoklch(47.89% 0.184 335.7)
XYZxyz(17.4996, 9.3909, 22.7163)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972284 #229735
analogous
#702297 #972284 #97224A
triadic
#972284 #849722 #228497
tetradic
#972284 #977022 #229735 #224A97
square
#972284 #977022 #229735 #224A97
split-complementary
#972284 #4A9722 #229770
monochromatic
#330C2D #651758 #972284 #C92DB0 #DA5AC5

Accessibility & contrast

On white

7.30
#972284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#972284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972284
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972284#FFFFFF#000000##FFFFFF
##9722841.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B87
Deuteranopia (green-blind)
#4D5D81
Tritanopia (blue-blind)
#9F2C51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972284;
/* rgb */ color: rgb(151, 34, 132);
/* oklch */ color: oklch(47.9% 0.184 335.7);
Tailwind
colors: {
  custom: {
    50: '#b96ba8',
    500: '#972284',
    950: '#000000',
  },
}
SCSS
$custom: #972284;
$custom-light: #b96ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#972284",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 309.744,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47893,
    "c": 0.18379,
    "h": 335.7
  },
  "luminance": 0.09389
}

Semantic roles & 50–950 ramp

primary
#972284
secondary
#57BE68
accent
#E65C42
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #972284

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

Preview Lab → · Contrast checker → · Palette generator →

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