#972189#972189

#972189 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.188 H 333.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#972189
RGBrgb(151, 33, 137)
HSLhsl(307, 64%, 36%)
HSVhsv(307, 78%, 59%)
CMYKcmyk(0%, 78.1%, 9.3%, 40.8%)
CIE-LABlab(36.88, 58.24, -30.56)
CIE-LCHlch(36.88, 65.77, 332.32°)
OKLaboklab(48.09% 0.1687 -0.0838)
OKLCHoklch(48.09% 0.188 333.6)
XYZxyz(17.8219, 9.4747, 24.5522)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972189 #21972F
analogous
#6A2197 #972189 #97214E
triadic
#972189 #899721 #218997
tetradic
#972189 #976A21 #21972F #214E97
square
#972189 #976A21 #21972F #214E97
split-complementary
#972189 #4E9721 #21976A
monochromatic
#330B2E #65165B #972189 #C92CB7 #DA58CB

Accessibility & contrast

On white

7.25
#972189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972189
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972189#FFFFFF#000000##FFFFFF
##9721891.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4C8C
Deuteranopia (green-blind)
#4B5D86
Tritanopia (blue-blind)
#9E2E54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972189;
/* rgb */ color: rgb(151, 33, 137);
/* oklch */ color: oklch(48.1% 0.188 333.6);
Tailwind
colors: {
  custom: {
    50: '#b96bac',
    500: '#972189',
    950: '#000000',
  },
}
SCSS
$custom: #972189;
$custom-light: #b96bac;
$custom-dark: #000000;
JSON
{
  "hex": "#972189",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 307.119,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4809,
    "c": 0.18838,
    "h": 333.6
  },
  "luminance": 0.09473
}

Semantic roles & 50–950 ramp

primary
#972189
secondary
#55BE62
accent
#E75441
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #972189

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

Preview Lab → · Contrast checker → · Palette generator →

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