#9F189F#9F189F

#9F189F is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.1% C 0.216 H 328.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9F189F
RGBrgb(159, 24, 159)
HSLhsl(300, 74%, 36%)
HSVhsv(300, 85%, 62%)
CMYKcmyk(0%, 84.9%, 0%, 37.6%)
CIE-LABlab(38.78, 65.60, -40.88)
CIE-LCHlch(38.78, 77.30, 328.07°)
OKLaboklab(50.11% 0.1832 -0.1135)
OKLCHoklch(50.11% 0.216 328.2)
XYZxyz(20.8825, 10.5290, 33.7266)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F189F #189F18
analogous
#5B189F #9F189F #9F185B
triadic
#9F189F #9F9F18 #189F9F
tetradic
#9F189F #9F5B18 #189F18 #185B9F
square
#9F189F #9F5B18 #189F18 #185B9F
split-complementary
#9F189F #5B9F18 #189F5B
monochromatic
#350835 #6A106A #9F189F #D420D4 #E44DE4

Accessibility & contrast

On white

6.76
#9F189F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F189F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F189F
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F189F#FFFFFF#000000##FFFFFF
##9F189F1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#43619C
Tritanopia (blue-blind)
#A4325F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f189f;
/* rgb */ color: rgb(159, 24, 159);
/* oklch */ color: oklch(50.1% 0.216 328.2);
Tailwind
colors: {
  custom: {
    50: '#c06abc',
    500: '#9f189f',
    950: '#000000',
  },
}
SCSS
$custom: #9f189f;
$custom-light: #c06abc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f189f",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 300,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.50108,
    "c": 0.21556,
    "h": 328.2
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#9F189F
secondary
#4DC64D
accent
#F03737
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9F189F

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

Preview Lab → · Contrast checker → · Palette generator →

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