#9D198A#9D198A

#9D198A is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.199 H 335.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9D198A
RGBrgb(157, 25, 138)
HSLhsl(309, 73%, 36%)
HSVhsv(309, 84%, 62%)
CMYKcmyk(0%, 84.1%, 12.1%, 38.4%)
CIE-LABlab(37.30, 61.79, -30.44)
CIE-LCHlch(37.30, 68.89, 333.77°)
OKLaboklab(48.61% 0.1809 -0.0833)
OKLCHoklch(48.61% 0.199 335.3)
XYZxyz(18.8400, 9.7001, 24.9199)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D198A #199D2C
analogous
#6E199D #9D198A #9D1948
triadic
#9D198A #8A9D19 #198A9D
tetradic
#9D198A #9D6E19 #199D2C #19489D
square
#9D198A #9D6E19 #199D2C #19489D
split-complementary
#9D198A #489D19 #199D6E
monochromatic
#33082D #68115C #9D198A #D221B8 #E34ECD

Accessibility & contrast

On white

7.14
#9D198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9D198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D198A
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D198A#FFFFFF#000000##FFFFFF
##9D198A1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8D
Deuteranopia (green-blind)
#4D5E87
Tritanopia (blue-blind)
#A52753
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d198a;
/* rgb */ color: rgb(157, 25, 138);
/* oklch */ color: oklch(48.6% 0.199 335.3);
Tailwind
colors: {
  custom: {
    50: '#be69ac',
    500: '#9d198a',
    950: '#000000',
  },
}
SCSS
$custom: #9d198a;
$custom-light: #be69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d198a",
  "rgb": {
    "r": 157,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 308.636,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48608,
    "c": 0.19916,
    "h": 335.3
  },
  "luminance": 0.09698
}

Semantic roles & 50–950 ramp

primary
#9D198A
secondary
#4DC55E
accent
#EF5339
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D198A

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

Preview Lab → · Contrast checker → · Palette generator →

#9D198A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva