#9C198B#9C198B

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

Color values

HEX#9C198B
RGBrgb(156, 25, 139)
HSLhsl(308, 72%, 35%)
HSVhsv(308, 84%, 61%)
CMYKcmyk(0%, 84%, 10.9%, 38.8%)
CIE-LABlab(37.17, 61.73, -31.28)
CIE-LCHlch(37.17, 69.20, 333.13°)
OKLaboklab(48.5% 0.18 -0.0858)
OKLCHoklch(48.5% 0.199 334.5)
XYZxyz(18.7184, 9.6290, 25.2938)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C198B #199C2A
analogous
#6B199C #9C198B #9C194A
triadic
#9C198B #8B9C19 #198B9C
tetradic
#9C198B #9C6B19 #199C2A #194A9C
square
#9C198B #9C6B19 #199C2A #194A9C
split-complementary
#9C198B #4A9C19 #199C6B
monochromatic
#33082D #67115C #9C198B #D121BA #E24DCF

Accessibility & contrast

On white

7.18
#9C198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9C198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C198B
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C198B#FFFFFF#000000##FFFFFF
##9C198B1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164C8E
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#A42853
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c198b;
/* rgb */ color: rgb(156, 25, 139);
/* oklch */ color: oklch(48.5% 0.199 334.5);
Tailwind
colors: {
  custom: {
    50: '#bd69ad',
    500: '#9c198b',
    950: '#000000',
  },
}
SCSS
$custom: #9c198b;
$custom-light: #bd69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9c198b",
  "rgb": {
    "r": 156,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 307.786,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48498,
    "c": 0.19934,
    "h": 334.5
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#9C198B
secondary
#4CC45C
accent
#EF5039
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C198B

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

Preview Lab → · Contrast checker → · Palette generator →

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