#972286#972286

#972286 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.185 H 334.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#972286
RGBrgb(151, 34, 134)
HSLhsl(309, 63%, 36%)
HSVhsv(309, 77%, 59%)
CMYKcmyk(0%, 77.5%, 11.3%, 40.8%)
CIE-LABlab(36.83, 57.48, -28.79)
CIE-LCHlch(36.83, 64.28, 333.40°)
OKLaboklab(48% 0.1676 -0.0788)
OKLCHoklch(48% 0.185 334.8)
XYZxyz(17.6378, 9.4462, 23.4440)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972286 #229733
analogous
#6E2297 #972286 #97224C
triadic
#972286 #869722 #228697
tetradic
#972286 #976E22 #229733 #224C97
square
#972286 #976E22 #229733 #224C97
split-complementary
#972286 #4C9722 #22976E
monochromatic
#330C2D #65175A #972286 #C92DB2 #DA5AC7

Accessibility & contrast

On white

7.27
#972286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#972286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972286
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972286#FFFFFF#000000##FFFFFF
##9722861.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#4C5D83
Tritanopia (blue-blind)
#9F2D52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972286;
/* rgb */ color: rgb(151, 34, 134);
/* oklch */ color: oklch(48.0% 0.185 334.8);
Tailwind
colors: {
  custom: {
    50: '#b96ba9',
    500: '#972286',
    950: '#000000',
  },
}
SCSS
$custom: #972286;
$custom-light: #b96ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#972286",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 308.718,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.18522,
    "h": 334.8
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

primary
#972286
secondary
#57BE66
accent
#E65942
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #972286

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

Preview Lab → · Contrast checker → · Palette generator →

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