#97198D#97198D

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

Color values

HEX#97198D
RGBrgb(151, 25, 141)
HSLhsl(305, 72%, 35%)
HSVhsv(305, 83%, 59%)
CMYKcmyk(0%, 83.4%, 6.6%, 40.8%)
CIE-LABlab(36.37, 60.98, -33.84)
CIE-LCHlch(36.37, 69.74, 330.98°)
OKLaboklab(47.79% 0.175 -0.0933)
OKLCHoklch(47.79% 0.198 331.9)
XYZxyz(17.9179, 9.1992, 26.0261)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97198D #199723
analogous
#621997 #97198D #97194E
triadic
#97198D #8D9719 #198D97
tetradic
#97198D #976219 #199723 #194E97
square
#97198D #976219 #199723 #194E97
split-complementary
#97198D #4E9719 #199762
monochromatic
#2E082B #62105C #97198D #CC22BE #E149D5

Accessibility & contrast

On white

7.40
#97198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#97198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97198D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97198D#FFFFFF#000000##FFFFFF
##97198D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094B90
Deuteranopia (green-blind)
#465C8A
Tritanopia (blue-blind)
#9E2B54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97198d;
/* rgb */ color: rgb(151, 25, 141);
/* oklch */ color: oklch(47.8% 0.198 331.9);
Tailwind
colors: {
  custom: {
    50: '#ba68af',
    500: '#97198d',
    950: '#000000',
  },
}
SCSS
$custom: #97198d;
$custom-light: #ba68af;
$custom-dark: #000000;
JSON
{
  "hex": "#97198d",
  "rgb": {
    "r": 151,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 304.762,
    "s": 71.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47791,
    "c": 0.19831,
    "h": 331.9
  },
  "luminance": 0.09198
}

Semantic roles & 50–950 ramp

primary
#97198D
secondary
#49C353
accent
#EE4839
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #97198D

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

Preview Lab → · Contrast checker → · Palette generator →

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