#972197#972197

#972197 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.9% C 0.199 H 328.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#972197
RGBrgb(151, 33, 151)
HSLhsl(300, 64%, 36%)
HSVhsv(300, 78%, 59%)
CMYKcmyk(0%, 78.1%, 0%, 40.8%)
CIE-LABlab(37.67, 60.47, -37.88)
CIE-LCHlch(37.67, 71.36, 327.93°)
OKLaboklab(48.9% 0.1688 -0.1051)
OKLCHoklch(48.9% 0.199 328.1)
XYZxyz(18.8920, 9.9028, 30.1886)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972197 #219721
analogous
#5C2197 #972197 #97215C
triadic
#972197 #979721 #219797
tetradic
#972197 #975C21 #219721 #215C97
square
#972197 #975C21 #219721 #215C97
split-complementary
#972197 #5C9721 #21975C
monochromatic
#330B33 #651665 #972197 #C92CC9 #DA58DA

Accessibility & contrast

On white

7.05
#972197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#972197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972197
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972197#FFFFFF#000000##FFFFFF
##9721971.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#435E94
Tritanopia (blue-blind)
#9C355C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972197;
/* rgb */ color: rgb(151, 33, 151);
/* oklch */ color: oklch(48.9% 0.199 328.1);
Tailwind
colors: {
  custom: {
    50: '#b96bb6',
    500: '#972197',
    950: '#000000',
  },
}
SCSS
$custom: #972197;
$custom-light: #b96bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#972197",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48904,
    "c": 0.19884,
    "h": 328.1
  },
  "luminance": 0.09901
}

Semantic roles & 50–950 ramp

primary
#972197
secondary
#55BE55
accent
#E74141
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972197

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

Preview Lab → · Contrast checker → · Palette generator →

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