#972285#972285

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

Color values

HEX#972285
RGBrgb(151, 34, 133)
HSLhsl(309, 63%, 36%)
HSVhsv(309, 77%, 59%)
CMYKcmyk(0%, 77.5%, 11.9%, 40.8%)
CIE-LABlab(36.78, 57.33, -28.25)
CIE-LCHlch(36.78, 63.91, 333.77°)
OKLaboklab(47.95% 0.1676 -0.0772)
OKLCHoklch(47.95% 0.185 335.3)
XYZxyz(17.5684, 9.4184, 23.0784)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972285 #229734
analogous
#6F2297 #972285 #97224B
triadic
#972285 #859722 #228597
tetradic
#972285 #976F22 #229734 #224B97
square
#972285 #976F22 #229734 #224B97
split-complementary
#972285 #4B9722 #22976F
monochromatic
#330C2D #651759 #972285 #C92DB1 #DA5AC6

Accessibility & contrast

On white

7.28
#972285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972285
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972285#FFFFFF#000000##FFFFFF
##9722851.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B88
Deuteranopia (green-blind)
#4D5D82
Tritanopia (blue-blind)
#9F2C52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972285;
/* rgb */ color: rgb(151, 34, 133);
/* oklch */ color: oklch(47.9% 0.185 335.3);
Tailwind
colors: {
  custom: {
    50: '#b96ba9',
    500: '#972285',
    950: '#000000',
  },
}
SCSS
$custom: #972285;
$custom-light: #b96ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#972285",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 309.231,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47947,
    "c": 0.18451,
    "h": 335.3
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#972285
secondary
#57BE67
accent
#E65B42
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #972285

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

Preview Lab → · Contrast checker → · Palette generator →

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