#9F189A#9F189A

#9F189A is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.212 H 330.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9F189A
RGBrgb(159, 24, 154)
HSLhsl(302, 74%, 36%)
HSVhsv(302, 85%, 62%)
CMYKcmyk(0%, 84.9%, 3.1%, 37.6%)
CIE-LABlab(38.48, 64.82, -38.33)
CIE-LCHlch(38.48, 75.31, 329.40°)
OKLaboklab(49.8% 0.1835 -0.1061)
OKLCHoklch(49.8% 0.212 330)
XYZxyz(20.4574, 10.3590, 31.4876)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F189A #189F1D
analogous
#60189F #9F189A #9F1856
triadic
#9F189A #9A9F18 #189A9F
tetradic
#9F189A #9F6018 #189F1D #18569F
square
#9F189A #9F6018 #189F1D #18569F
split-complementary
#9F189A #569F18 #189F60
monochromatic
#350833 #6A1066 #9F189A #D420CE #E44DDF

Accessibility & contrast

On white

6.84
#9F189A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9F189A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F189A
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F189A#FFFFFF#000000##FFFFFF
##9F189A1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#466197
Tritanopia (blue-blind)
#A5305C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f189a;
/* rgb */ color: rgb(159, 24, 154);
/* oklch */ color: oklch(49.8% 0.212 330.0);
Tailwind
colors: {
  custom: {
    50: '#c06ab8',
    500: '#9f189a',
    950: '#000000',
  },
}
SCSS
$custom: #9f189a;
$custom-light: #c06ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f189a",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 154
  },
  "hsl": {
    "h": 302.222,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49803,
    "c": 0.21197,
    "h": 330
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

primary
#9F189A
secondary
#4DC651
accent
#F03E37
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F189A

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

Preview Lab → · Contrast checker → · Palette generator →

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