#972188#972188

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

Color values

HEX#972188
RGBrgb(151, 33, 136)
HSLhsl(308, 64%, 36%)
HSVhsv(308, 78%, 59%)
CMYKcmyk(0%, 78.1%, 9.9%, 40.8%)
CIE-LABlab(36.83, 58.09, -30.02)
CIE-LCHlch(36.83, 65.39, 332.67°)
OKLaboklab(48.04% 0.1687 -0.0823)
OKLCHoklch(48.04% 0.188 334)
XYZxyz(17.7505, 9.4462, 24.1762)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972188 #219730
analogous
#6B2197 #972188 #97214D
triadic
#972188 #889721 #218897
tetradic
#972188 #976B21 #219730 #214D97
square
#972188 #976B21 #219730 #214D97
split-complementary
#972188 #4D9721 #21976B
monochromatic
#330B2E #65165B #972188 #C92CB5 #DA58CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972188#FFFFFF#000000##FFFFFF
##9721881.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)
#1E4C8B
Deuteranopia (green-blind)
#4B5D85
Tritanopia (blue-blind)
#9E2D53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972188;
/* rgb */ color: rgb(151, 33, 136);
/* oklch */ color: oklch(48.0% 0.188 334.0);
Tailwind
colors: {
  custom: {
    50: '#b96aab',
    500: '#972188',
    950: '#000000',
  },
}
SCSS
$custom: #972188;
$custom-light: #b96aab;
$custom-dark: #000000;
JSON
{
  "hex": "#972188",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 307.627,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48035,
    "c": 0.18766,
    "h": 334
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

primary
#972188
secondary
#55BE63
accent
#E75641
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #972188

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

Preview Lab → · Contrast checker → · Palette generator →

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