#9D198F#9D198F

#9D198F is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.203 H 333.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9D198F
RGBrgb(157, 25, 143)
HSLhsl(306, 73%, 36%)
HSVhsv(306, 84%, 62%)
CMYKcmyk(0%, 84.1%, 8.9%, 38.4%)
CIE-LABlab(37.57, 62.53, -33.09)
CIE-LCHlch(37.57, 70.74, 332.11°)
OKLaboklab(48.89% 0.181 -0.091)
OKLCHoklch(48.89% 0.203 333.3)
XYZxyz(19.2103, 9.8483, 26.8704)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D198F #199D27
analogous
#69199D #9D198F #9D194D
triadic
#9D198F #8F9D19 #198F9D
tetradic
#9D198F #9D6919 #199D27 #194D9D
square
#9D198F #9D6919 #199D27 #194D9D
split-complementary
#9D198F #4D9D19 #199D69
monochromatic
#33082F #68115F #9D198F #D221BF #E34ED3

Accessibility & contrast

On white

7.07
#9D198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9D198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D198F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D198F#FFFFFF#000000##FFFFFF
##9D198F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104D92
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#A42A55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d198f;
/* rgb */ color: rgb(157, 25, 143);
/* oklch */ color: oklch(48.9% 0.203 333.3);
Tailwind
colors: {
  custom: {
    50: '#be69b0',
    500: '#9d198f',
    950: '#000000',
  },
}
SCSS
$custom: #9d198f;
$custom-light: #be69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d198f",
  "rgb": {
    "r": 157,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 306.364,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48888,
    "c": 0.20259,
    "h": 333.3
  },
  "luminance": 0.09847
}

Semantic roles & 50–950 ramp

primary
#9D198F
secondary
#4DC55A
accent
#EF4C39
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D198F

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

Preview Lab → · Contrast checker → · Palette generator →

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