#9D198D#9D198D

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

Color values

HEX#9D198D
RGBrgb(157, 25, 141)
HSLhsl(307, 73%, 36%)
HSVhsv(307, 84%, 62%)
CMYKcmyk(0%, 84.1%, 10.2%, 38.4%)
CIE-LABlab(37.46, 62.23, -32.03)
CIE-LCHlch(37.46, 69.99, 332.76°)
OKLaboklab(48.78% 0.181 -0.0879)
OKLCHoklch(48.78% 0.201 334.1)
XYZxyz(19.0602, 9.7882, 26.0796)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D198D #199D29
analogous
#6B199D #9D198D #9D194B
triadic
#9D198D #8D9D19 #198D9D
tetradic
#9D198D #9D6B19 #199D29 #194B9D
square
#9D198D #9D6B19 #199D29 #194B9D
split-complementary
#9D198D #4B9D19 #199D6B
monochromatic
#33082E #68115E #9D198D #D221BC #E34ED1

Accessibility & contrast

On white

7.10
#9D198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D198D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D198D#FFFFFF#000000##FFFFFF
##9D198D1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144C90
Deuteranopia (green-blind)
#4C5F8A
Tritanopia (blue-blind)
#A52954
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d198d;
/* rgb */ color: rgb(157, 25, 141);
/* oklch */ color: oklch(48.8% 0.201 334.1);
Tailwind
colors: {
  custom: {
    50: '#be69af',
    500: '#9d198d',
    950: '#000000',
  },
}
SCSS
$custom: #9d198d;
$custom-light: #be69af;
$custom-dark: #000000;
JSON
{
  "hex": "#9d198d",
  "rgb": {
    "r": 157,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 307.273,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48775,
    "c": 0.20121,
    "h": 334.1
  },
  "luminance": 0.09786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D198D

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

Preview Lab → · Contrast checker → · Palette generator →

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