#9F188A#9F188A

#9F188A is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.201 H 335.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9F188A
RGBrgb(159, 24, 138)
HSLhsl(309, 74%, 36%)
HSVhsv(309, 85%, 62%)
CMYKcmyk(0%, 84.9%, 13.2%, 37.6%)
CIE-LABlab(37.59, 62.44, -29.96)
CIE-LCHlch(37.59, 69.25, 334.37°)
OKLaboklab(48.89% 0.1835 -0.0819)
OKLCHoklch(48.89% 0.201 335.9)
XYZxyz(19.2125, 9.8610, 24.9314)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F188A #189F2D
analogous
#70189F #9F188A #9F1847
triadic
#9F188A #8A9F18 #188A9F
tetradic
#9F188A #9F7018 #189F2D #18479F
square
#9F188A #9F7018 #189F2D #18479F
split-complementary
#9F188A #479F18 #189F70
monochromatic
#35082E #6A105C #9F188A #D420B8 #E44DCD

Accessibility & contrast

On white

7.07
#9F188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9F188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F188A
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F188A#FFFFFF#000000##FFFFFF
##9F188A1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8D
Deuteranopia (green-blind)
#4F5F87
Tritanopia (blue-blind)
#A82552
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f188a;
/* rgb */ color: rgb(159, 24, 138);
/* oklch */ color: oklch(48.9% 0.201 335.9);
Tailwind
colors: {
  custom: {
    50: '#c069ac',
    500: '#9f188a',
    950: '#000000',
  },
}
SCSS
$custom: #9f188a;
$custom-light: #c069ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f188a",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 309.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48885,
    "c": 0.2009,
    "h": 335.9
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#9F188A
secondary
#4DC660
accent
#F05437
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F188A

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

Preview Lab → · Contrast checker → · Palette generator →

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