#9F189B#9F189B

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

Color values

HEX#9F189B
RGBrgb(159, 24, 155)
HSLhsl(302, 74%, 36%)
HSVhsv(302, 85%, 62%)
CMYKcmyk(0%, 84.9%, 2.5%, 37.6%)
CIE-LABlab(38.54, 64.98, -38.84)
CIE-LCHlch(38.54, 75.70, 329.13°)
OKLaboklab(49.86% 0.1835 -0.1076)
OKLCHoklch(49.86% 0.213 329.6)
XYZxyz(20.5410, 10.3924, 31.9281)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F189B #189F1C
analogous
#5F189F #9F189B #9F1857
triadic
#9F189B #9B9F18 #189B9F
tetradic
#9F189B #9F5F18 #189F1C #18579F
square
#9F189B #9F5F18 #189F1C #18579F
split-complementary
#9F189B #579F18 #189F5F
monochromatic
#350833 #6A1067 #9F189B #D420CF #E44DE0

Accessibility & contrast

On white

6.82
#9F189B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F189B
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F189B#FFFFFF#000000##FFFFFF
##9F189B1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#466198
Tritanopia (blue-blind)
#A5305C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f189b;
/* rgb */ color: rgb(159, 24, 155);
/* oklch */ color: oklch(49.9% 0.213 329.6);
Tailwind
colors: {
  custom: {
    50: '#c06ab9',
    500: '#9f189b',
    950: '#000000',
  },
}
SCSS
$custom: #9f189b;
$custom-light: #c06ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f189b",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 301.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49863,
    "c": 0.21268,
    "h": 329.6
  },
  "luminance": 0.10391
}

Semantic roles & 50–950 ramp

primary
#9F189B
secondary
#4DC650
accent
#F03D37
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F189B

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

Preview Lab → · Contrast checker → · Palette generator →

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