#972888#972888

#972888 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.180 H 334.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#972888
RGBrgb(151, 40, 136)
HSLhsl(308, 58%, 37%)
HSVhsv(308, 74%, 59%)
CMYKcmyk(0%, 73.5%, 9.9%, 40.8%)
CIE-LABlab(37.62, 55.83, -28.78)
CIE-LCHlch(37.62, 62.81, 332.73°)
OKLaboklab(48.6% 0.162 -0.0788)
OKLCHoklch(48.6% 0.18 334.1)
XYZxyz(17.9654, 9.8760, 24.2479)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972888 #289737
analogous
#6E2897 #972888 #972851
triadic
#972888 #889728 #288897
tetradic
#972888 #976E28 #289737 #285197
square
#972888 #976E28 #289737 #285197
split-complementary
#972888 #519728 #28976E
monochromatic
#360E31 #671B5C #972888 #C735B4 #D664C6

Accessibility & contrast

On white

7.06
#972888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#972888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972888
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972888#FFFFFF#000000##FFFFFF
##9728881.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E8B
Deuteranopia (green-blind)
#4E5E85
Tritanopia (blue-blind)
#9E3255
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972888;
/* rgb */ color: rgb(151, 40, 136);
/* oklch */ color: oklch(48.6% 0.180 334.1);
Tailwind
colors: {
  custom: {
    50: '#b96dab',
    500: '#972888',
    950: '#000000',
  },
}
SCSS
$custom: #972888;
$custom-light: #b96dab;
$custom-dark: #000000;
JSON
{
  "hex": "#972888",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 308.108,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48602,
    "c": 0.18015,
    "h": 334.1
  },
  "luminance": 0.09874
}

Semantic roles & 50–950 ramp

primary
#972888
secondary
#5FBC6C
accent
#E15B46
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #972888

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

Preview Lab → · Contrast checker → · Palette generator →

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