#972299#972299

#972299 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.1% C 0.199 H 327.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#972299
RGBrgb(151, 34, 153)
HSLhsl(299, 64%, 37%)
HSVhsv(299, 78%, 60%)
CMYKcmyk(1.3%, 77.8%, 0%, 40%)
CIE-LABlab(37.89, 60.51, -38.75)
CIE-LCHlch(37.89, 71.86, 327.37°)
OKLaboklab(49.1% 0.1679 -0.1076)
OKLCHoklch(49.1% 0.199 327.3)
XYZxyz(19.0840, 10.0247, 31.0606)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972299 #249922
analogous
#5C2299 #972299 #992260
triadic
#972299 #999722 #229997
tetradic
#972299 #995C22 #249922 #226099
square
#972299 #995C22 #249922 #226099
split-complementary
#972299 #609922 #22995C
monochromatic
#340C35 #661767 #972299 #C82DCB #D85BDB

Accessibility & contrast

On white

6.99
#972299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#972299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972299
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972299#FFFFFF#000000##FFFFFF
##9722991.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#425E96
Tritanopia (blue-blind)
#9C375D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972299;
/* rgb */ color: rgb(151, 34, 153);
/* oklch */ color: oklch(49.1% 0.199 327.3);
Tailwind
colors: {
  custom: {
    50: '#b96cb7',
    500: '#972299',
    950: '#000000',
  },
}
SCSS
$custom: #972299;
$custom-light: #b96cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#972299",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 298.992,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49098,
    "c": 0.19943,
    "h": 327.3
  },
  "luminance": 0.10023
}

Semantic roles & 50–950 ramp

primary
#972299
secondary
#5ABF58
accent
#E74144
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972299

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

Preview Lab → · Contrast checker → · Palette generator →

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