#9F189D#9F189D

#9F189D is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.214 H 328.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9F189D
RGBrgb(159, 24, 157)
HSLhsl(301, 74%, 36%)
HSVhsv(301, 85%, 62%)
CMYKcmyk(0%, 84.9%, 1.3%, 37.6%)
CIE-LABlab(38.66, 65.29, -39.86)
CIE-LCHlch(38.66, 76.50, 328.59°)
OKLaboklab(49.99% 0.1834 -0.1106)
OKLCHoklch(49.99% 0.214 328.9)
XYZxyz(20.7103, 10.4602, 32.8200)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F189D #189F1A
analogous
#5D189F #9F189D #9F1859
triadic
#9F189D #9D9F18 #189D9F
tetradic
#9F189D #9F5D18 #189F1A #18599F
square
#9F189D #9F5D18 #189F1A #18599F
split-complementary
#9F189D #599F18 #189F5D
monochromatic
#350834 #6A1068 #9F189D #D420D2 #E44DE2

Accessibility & contrast

On white

6.79
#9F189D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F189D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F189D
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F189D#FFFFFF#000000##FFFFFF
##9F189D1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#44619A
Tritanopia (blue-blind)
#A5315D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f189d;
/* rgb */ color: rgb(159, 24, 157);
/* oklch */ color: oklch(50.0% 0.214 328.9);
Tailwind
colors: {
  custom: {
    50: '#c06aba',
    500: '#9f189d',
    950: '#000000',
  },
}
SCSS
$custom: #9f189d;
$custom-light: #c06aba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f189d",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 300.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49985,
    "c": 0.21412,
    "h": 328.9
  },
  "luminance": 0.10459
}

Semantic roles & 50–950 ramp

primary
#9F189D
secondary
#4DC64E
accent
#F03A37
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9F189D

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

Preview Lab → · Contrast checker → · Palette generator →

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