#9F198F#9F198F

#9F198F is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.204 H 334.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9F198F
RGBrgb(159, 25, 143)
HSLhsl(307, 73%, 36%)
HSVhsv(307, 84%, 62%)
CMYKcmyk(0%, 84.3%, 10.1%, 37.6%)
CIE-LABlab(37.93, 62.94, -32.49)
CIE-LCHlch(37.93, 70.83, 332.70°)
OKLaboklab(49.22% 0.183 -0.0892)
OKLCHoklch(49.22% 0.204 334)
XYZxyz(19.6038, 10.0512, 26.8889)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F198F #199F29
analogous
#6C199F #9F198F #9F194C
triadic
#9F198F #8F9F19 #198F9F
tetradic
#9F198F #9F6C19 #199F29 #194C9F
square
#9F198F #9F6C19 #199F29 #194C9F
split-complementary
#9F198F #4C9F19 #199F6C
monochromatic
#350830 #6A115F #9F198F #D421BF #E34FD2

Accessibility & contrast

On white

6.98
#9F198F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F198F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F198F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F198F#FFFFFF#000000##FFFFFF
##9F198F1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D92
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#A72955
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f198f;
/* rgb */ color: rgb(159, 25, 143);
/* oklch */ color: oklch(49.2% 0.204 334.0);
Tailwind
colors: {
  custom: {
    50: '#bf69b0',
    500: '#9f198f',
    950: '#000000',
  },
}
SCSS
$custom: #9f198f;
$custom-light: #bf69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f198f",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 307.164,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49216,
    "c": 0.20356,
    "h": 334
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#9F198F
secondary
#4EC65C
accent
#F04E38
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F198F

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

Preview Lab → · Contrast checker → · Palette generator →

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