#97198C#97198C

#97198C is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.198 H 332.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#97198C
RGBrgb(151, 25, 140)
HSLhsl(305, 72%, 35%)
HSVhsv(305, 83%, 59%)
CMYKcmyk(0%, 83.4%, 7.3%, 40.8%)
CIE-LABlab(36.31, 60.83, -33.31)
CIE-LCHlch(36.31, 69.35, 331.29°)
OKLaboklab(47.73% 0.175 -0.0917)
OKLCHoklch(47.73% 0.198 332.3)
XYZxyz(17.8438, 9.1696, 25.6360)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97198C #199724
analogous
#631997 #97198C #97194D
triadic
#97198C #8C9719 #198C97
tetradic
#97198C #976319 #199724 #194D97
square
#97198C #976319 #199724 #194D97
split-complementary
#97198C #4D9719 #199763
monochromatic
#2E082B #62105B #97198C #CC22BD #E149D4

Accessibility & contrast

On white

7.41
#97198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#97198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97198C
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97198C#FFFFFF#000000##FFFFFF
##97198C1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4A8F
Deuteranopia (green-blind)
#475B89
Tritanopia (blue-blind)
#9E2A54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #97198c;
/* rgb */ color: rgb(151, 25, 140);
/* oklch */ color: oklch(47.7% 0.198 332.3);
Tailwind
colors: {
  custom: {
    50: '#ba68ae',
    500: '#97198c',
    950: '#000000',
  },
}
SCSS
$custom: #97198c;
$custom-light: #ba68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#97198c",
  "rgb": {
    "r": 151,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 305.238,
    "s": 71.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47733,
    "c": 0.1976,
    "h": 332.3
  },
  "luminance": 0.09168
}

Semantic roles & 50–950 ramp

primary
#97198C
secondary
#49C354
accent
#EE4939
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #97198C

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

Preview Lab → · Contrast checker → · Palette generator →

#97198C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva