#9F189C#9F189C

#9F189C is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.213 H 329.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9F189C
RGBrgb(159, 24, 156)
HSLhsl(301, 74%, 36%)
HSVhsv(301, 85%, 62%)
CMYKcmyk(0%, 84.9%, 1.9%, 37.6%)
CIE-LABlab(38.60, 65.13, -39.35)
CIE-LCHlch(38.60, 76.10, 328.86°)
OKLaboklab(49.92% 0.1834 -0.1091)
OKLCHoklch(49.92% 0.213 329.3)
XYZxyz(20.6253, 10.4261, 32.3722)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F189C #189F1B
analogous
#5E189F #9F189C #9F1858
triadic
#9F189C #9C9F18 #189C9F
tetradic
#9F189C #9F5E18 #189F1B #18589F
square
#9F189C #9F5E18 #189F1B #18589F
split-complementary
#9F189C #589F18 #189F5E
monochromatic
#350834 #6A1068 #9F189C #D420D0 #E44DE1

Accessibility & contrast

On white

6.81
#9F189C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9F189C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F189C
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F189C#FFFFFF#000000##FFFFFF
##9F189C1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#456199
Tritanopia (blue-blind)
#A5315D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f189c;
/* rgb */ color: rgb(159, 24, 156);
/* oklch */ color: oklch(49.9% 0.213 329.3);
Tailwind
colors: {
  custom: {
    50: '#c06aba',
    500: '#9f189c',
    950: '#000000',
  },
}
SCSS
$custom: #9f189c;
$custom-light: #c06aba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f189c",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 156
  },
  "hsl": {
    "h": 301.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49924,
    "c": 0.2134,
    "h": 329.3
  },
  "luminance": 0.10424
}

Semantic roles & 50–950 ramp

primary
#9F189C
secondary
#4DC64F
accent
#F03B37
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F189C

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

Preview Lab → · Contrast checker → · Palette generator →

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