#972187#972187

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

Color values

HEX#972187
RGBrgb(151, 33, 135)
HSLhsl(308, 64%, 36%)
HSVhsv(308, 78%, 59%)
CMYKcmyk(0%, 78.1%, 10.6%, 40.8%)
CIE-LABlab(36.78, 57.93, -29.49)
CIE-LCHlch(36.78, 65.01, 333.02°)
OKLaboklab(47.98% 0.1686 -0.0808)
OKLCHoklch(47.98% 0.187 334.4)
XYZxyz(17.6797, 9.4179, 23.8037)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972187 #219731
analogous
#6C2197 #972187 #97214C
triadic
#972187 #879721 #218797
tetradic
#972187 #976C21 #219731 #214C97
square
#972187 #976C21 #219731 #214C97
split-complementary
#972187 #4C9721 #21976C
monochromatic
#330B2D #65165A #972187 #C92CB4 #DA58C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972187#FFFFFF#000000##FFFFFF
##9721871.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)
#1F4C8A
Deuteranopia (green-blind)
#4C5D84
Tritanopia (blue-blind)
#9E2C53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972187;
/* rgb */ color: rgb(151, 33, 135);
/* oklch */ color: oklch(48.0% 0.187 334.4);
Tailwind
colors: {
  custom: {
    50: '#b96aaa',
    500: '#972187',
    950: '#000000',
  },
}
SCSS
$custom: #972187;
$custom-light: #b96aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#972187",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 308.136,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4798,
    "c": 0.18694,
    "h": 334.4
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#972187
secondary
#55BE64
accent
#E75741
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #972187

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

Preview Lab → · Contrast checker → · Palette generator →

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