#97199E#97199E

#97199E is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.8% C 0.211 H 325.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#97199E
RGBrgb(151, 25, 158)
HSLhsl(297, 73%, 36%)
HSVhsv(297, 84%, 62%)
CMYKcmyk(4.4%, 84.2%, 0%, 38%)
CIE-LABlab(37.38, 63.70, -42.59)
CIE-LCHlch(37.38, 76.63, 326.24°)
OKLaboklab(48.84% 0.1742 -0.1187)
OKLCHoklch(48.84% 0.211 325.7)
XYZxyz(19.2813, 9.7445, 33.2065)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97199E #209E19
analogous
#54199E #97199E #9E1962
triadic
#97199E #9E9719 #199E97
tetradic
#97199E #9E5419 #209E19 #19629E
square
#97199E #9E5419 #209E19 #19629E
split-complementary
#97199E #629E19 #199E54
monochromatic
#320834 #651169 #97199E #C921D3 #DB4EE3

Accessibility & contrast

On white

7.12
#97199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#97199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97199E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97199E#FFFFFF#000000##FFFFFF
##97199E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#3B5D9B
Tritanopia (blue-blind)
#9B355E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97199e;
/* rgb */ color: rgb(151, 25, 158);
/* oklch */ color: oklch(48.8% 0.211 325.7);
Tailwind
colors: {
  custom: {
    50: '#ba69bb',
    500: '#97199e',
    950: '#000000',
  },
}
SCSS
$custom: #97199e;
$custom-light: #ba69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#97199e",
  "rgb": {
    "r": 151,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 296.842,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48837,
    "c": 0.21079,
    "h": 325.7
  },
  "luminance": 0.09743
}

Semantic roles & 50–950 ramp

primary
#97199E
secondary
#54C54E
accent
#EF3842
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #97199E

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

Preview Lab → · Contrast checker → · Palette generator →

#97199E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva