#972199#972199

#972199 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.0% C 0.200 H 327.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#972199
RGBrgb(151, 33, 153)
HSLhsl(299, 65%, 36%)
HSVhsv(299, 78%, 60%)
CMYKcmyk(1.3%, 78.4%, 0%, 40%)
CIE-LABlab(37.79, 60.81, -38.91)
CIE-LCHlch(37.79, 72.19, 327.38°)
OKLaboklab(49.03% 0.1687 -0.1081)
OKLCHoklch(49.03% 0.2 327.4)
XYZxyz(19.0558, 9.9683, 31.0512)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972199 #239921
analogous
#5B2199 #972199 #99215F
triadic
#972199 #999721 #219997
tetradic
#972199 #995B21 #239921 #215F99
square
#972199 #995B21 #239921 #215F99
split-complementary
#972199 #5F9921 #21995B
monochromatic
#340B34 #651667 #972199 #C92CCB #D959DB

Accessibility & contrast

On white

7.02
#972199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#972199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972199
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972199#FFFFFF#000000##FFFFFF
##9721991.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#425E96
Tritanopia (blue-blind)
#9C365D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972199;
/* rgb */ color: rgb(151, 33, 153);
/* oklch */ color: oklch(49.0% 0.200 327.4);
Tailwind
colors: {
  custom: {
    50: '#b96bb7',
    500: '#972199',
    950: '#000000',
  },
}
SCSS
$custom: #972199;
$custom-light: #b96bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#972199",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 299,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49026,
    "c": 0.20037,
    "h": 327.4
  },
  "luminance": 0.09967
}

Semantic roles & 50–950 ramp

primary
#972199
secondary
#58BF56
accent
#E84043
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972199

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

Preview Lab → · Contrast checker → · Palette generator →

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