#9C198A#9C198A

#9C198A is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.199 H 334.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9C198A
RGBrgb(156, 25, 138)
HSLhsl(308, 72%, 35%)
HSVhsv(308, 84%, 61%)
CMYKcmyk(0%, 84%, 11.5%, 38.8%)
CIE-LABlab(37.11, 61.58, -30.75)
CIE-LCHlch(37.11, 68.83, 333.47°)
OKLaboklab(48.44% 0.1799 -0.0842)
OKLCHoklch(48.44% 0.199 334.9)
XYZxyz(18.6456, 9.5999, 24.9108)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C198A #199C2B
analogous
#6C199C #9C198A #9C1949
triadic
#9C198A #8A9C19 #198A9C
tetradic
#9C198A #9C6C19 #199C2B #19499C
square
#9C198A #9C6C19 #199C2B #19499C
split-complementary
#9C198A #499C19 #199C6C
monochromatic
#33082D #67115B #9C198A #D121B9 #E24DCE

Accessibility & contrast

On white

7.19
#9C198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9C198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C198A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C198A#FFFFFF#000000##FFFFFF
##9C198A1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174B8D
Deuteranopia (green-blind)
#4C5E87
Tritanopia (blue-blind)
#A42753
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c198a;
/* rgb */ color: rgb(156, 25, 138);
/* oklch */ color: oklch(48.4% 0.199 334.9);
Tailwind
colors: {
  custom: {
    50: '#bd69ac',
    500: '#9c198a',
    950: '#000000',
  },
}
SCSS
$custom: #9c198a;
$custom-light: #bd69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c198a",
  "rgb": {
    "r": 156,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 308.244,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48442,
    "c": 0.19865,
    "h": 334.9
  },
  "luminance": 0.09598
}

Semantic roles & 50–950 ramp

primary
#9C198A
secondary
#4CC45D
accent
#EF5239
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C198A

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

Preview Lab → · Contrast checker → · Palette generator →

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