#9F3189#9F3189

#9F3189 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.175 H 336.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9F3189
RGBrgb(159, 49, 137)
HSLhsl(312, 53%, 41%)
HSVhsv(312, 69%, 62%)
CMYKcmyk(0%, 69.2%, 13.8%, 37.6%)
CIE-LABlab(40.21, 54.69, -25.25)
CIE-LCHlch(40.21, 60.24, 335.22°)
OKLaboklab(50.75% 0.1607 -0.0686)
OKLCHoklch(50.75% 0.175 336.9)
XYZxyz(19.9121, 11.3755, 24.8090)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3189 #319F47
analogous
#7E319F #9F3189 #9F3152
triadic
#9F3189 #899F31 #31899F
tetradic
#9F3189 #9F7E31 #319F47 #31529F
square
#9F3189 #9F7E31 #319F47 #31529F
split-complementary
#9F3189 #529F31 #319F7E
monochromatic
#411438 #702361 #9F3189 #C647AD #D576C2

Accessibility & contrast

On white

6.41
#9F3189 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9F3189 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3189
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3189#FFFFFF#000000##FFFFFF
##9F31891.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548C
Deuteranopia (green-blind)
#586586
Tritanopia (blue-blind)
#A73759
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f3189;
/* rgb */ color: rgb(159, 49, 137);
/* oklch */ color: oklch(50.8% 0.175 336.9);
Tailwind
colors: {
  custom: {
    50: '#bf72ab',
    500: '#9f3189',
    950: '#000000',
  },
}
SCSS
$custom: #9f3189;
$custom-light: #bf72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3189",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 312,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50752,
    "c": 0.17473,
    "h": 336.9
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

primary
#9F3189
secondary
#6FBD7F
accent
#DC684C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #9F3189

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

Preview Lab → · Contrast checker → · Palette generator →

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