#972298#972298

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

Color values

HEX#972298
RGBrgb(151, 34, 152)
HSLhsl(299, 63%, 36%)
HSVhsv(299, 78%, 60%)
CMYKcmyk(0.7%, 77.6%, 0%, 40.4%)
CIE-LABlab(37.83, 60.35, -38.24)
CIE-LCHlch(37.83, 71.44, 327.64°)
OKLaboklab(49.04% 0.1679 -0.1061)
OKLCHoklch(49.04% 0.199 327.7)
XYZxyz(19.0018, 9.9918, 30.6275)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972298 #239822
analogous
#5C2298 #972298 #98225E
triadic
#972298 #989722 #229897
tetradic
#972298 #985C22 #239822 #225E98
square
#972298 #985C22 #239822 #225E98
split-complementary
#972298 #5E9822 #22985C
monochromatic
#340C34 #651766 #972298 #C92DCA #D95ADA

Accessibility & contrast

On white

7.00
#972298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972298
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972298#FFFFFF#000000##FFFFFF
##9722981.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#435E95
Tritanopia (blue-blind)
#9C365C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972298;
/* rgb */ color: rgb(151, 34, 152);
/* oklch */ color: oklch(49.0% 0.199 327.7);
Tailwind
colors: {
  custom: {
    50: '#b96cb7',
    500: '#972298',
    950: '#000000',
  },
}
SCSS
$custom: #972298;
$custom-light: #b96cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#972298",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 299.492,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49037,
    "c": 0.19866,
    "h": 327.7
  },
  "luminance": 0.0999
}

Semantic roles & 50–950 ramp

primary
#972298
secondary
#58BE57
accent
#E64143
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #972298

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

Preview Lab → · Contrast checker → · Palette generator →

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