#9D198E#9D198E

#9D198E is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.202 H 333.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9D198E
RGBrgb(157, 25, 142)
HSLhsl(307, 73%, 36%)
HSVhsv(307, 84%, 62%)
CMYKcmyk(0%, 84.1%, 9.6%, 38.4%)
CIE-LABlab(37.51, 62.38, -32.56)
CIE-LCHlch(37.51, 70.37, 332.44°)
OKLaboklab(48.83% 0.181 -0.0894)
OKLCHoklch(48.83% 0.202 333.7)
XYZxyz(19.1349, 9.8181, 26.4733)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D198E #199D28
analogous
#6A199D #9D198E #9D194C
triadic
#9D198E #8E9D19 #198E9D
tetradic
#9D198E #9D6A19 #199D28 #194C9D
square
#9D198E #9D6A19 #199D28 #194C9D
split-complementary
#9D198E #4C9D19 #199D6A
monochromatic
#33082F #68115E #9D198E #D221BE #E34ED2

Accessibility & contrast

On white

7.09
#9D198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9D198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D198E
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D198E#FFFFFF#000000##FFFFFF
##9D198E1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#4B5F8B
Tritanopia (blue-blind)
#A52955
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d198e;
/* rgb */ color: rgb(157, 25, 142);
/* oklch */ color: oklch(48.8% 0.202 333.7);
Tailwind
colors: {
  custom: {
    50: '#be69af',
    500: '#9d198e',
    950: '#000000',
  },
}
SCSS
$custom: #9d198e;
$custom-light: #be69af;
$custom-dark: #000000;
JSON
{
  "hex": "#9d198e",
  "rgb": {
    "r": 157,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 306.818,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48831,
    "c": 0.2019,
    "h": 333.7
  },
  "luminance": 0.09816
}

Semantic roles & 50–950 ramp

primary
#9D198E
secondary
#4DC55B
accent
#EF4D39
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D198E

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

Preview Lab → · Contrast checker → · Palette generator →

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