#97189D#97189D

#97189D is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.211 H 326.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#97189D
RGBrgb(151, 24, 157)
HSLhsl(297, 73%, 35%)
HSVhsv(297, 85%, 62%)
CMYKcmyk(3.8%, 84.7%, 0%, 38.4%)
CIE-LABlab(37.24, 63.76, -42.21)
CIE-LCHlch(37.24, 76.47, 326.50°)
OKLaboklab(48.72% 0.1749 -0.1176)
OKLCHoklch(48.72% 0.211 326.1)
XYZxyz(19.1746, 9.6683, 32.7480)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97189D #1E9D18
analogous
#54189D #97189D #9D1861
triadic
#97189D #9D9718 #189D97
tetradic
#97189D #9D5418 #1E9D18 #18619D
square
#97189D #9D5418 #1E9D18 #18619D
split-complementary
#97189D #619D18 #189D54
monochromatic
#310833 #641068 #97189D #CA20D2 #DD4CE4

Accessibility & contrast

On white

7.16
#97189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#97189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97189D
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97189D#FFFFFF#000000##FFFFFF
##97189D1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#3C5D9A
Tritanopia (blue-blind)
#9B345D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97189d;
/* rgb */ color: rgb(151, 24, 157);
/* oklch */ color: oklch(48.7% 0.211 326.1);
Tailwind
colors: {
  custom: {
    50: '#ba69ba',
    500: '#97189d',
    950: '#000000',
  },
}
SCSS
$custom: #97189d;
$custom-light: #ba69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#97189d",
  "rgb": {
    "r": 151,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 297.293,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48718,
    "c": 0.21075,
    "h": 326.1
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

primary
#97189D
secondary
#51C54B
accent
#F03840
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #97189D

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

Preview Lab → · Contrast checker → · Palette generator →

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