#9F188B#9F188B

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

Color values

HEX#9F188B
RGBrgb(159, 24, 139)
HSLhsl(309, 74%, 36%)
HSVhsv(309, 85%, 62%)
CMYKcmyk(0%, 84.9%, 12.6%, 37.6%)
CIE-LABlab(37.64, 62.58, -30.49)
CIE-LCHlch(37.64, 69.61, 334.03°)
OKLaboklab(48.94% 0.1835 -0.0834)
OKLCHoklch(48.94% 0.202 335.6)
XYZxyz(19.2852, 9.8901, 25.3144)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F188B #189F2C
analogous
#6F189F #9F188B #9F1847
triadic
#9F188B #8B9F18 #188B9F
tetradic
#9F188B #9F6F18 #189F2C #18479F
square
#9F188B #9F6F18 #189F2C #18479F
split-complementary
#9F188B #479F18 #189F6F
monochromatic
#35082E #6A105D #9F188B #D420B9 #E44DCE

Accessibility & contrast

On white

7.05
#9F188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9F188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F188B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F188B#FFFFFF#000000##FFFFFF
##9F188B1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8E
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#A72653
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f188b;
/* rgb */ color: rgb(159, 24, 139);
/* oklch */ color: oklch(48.9% 0.202 335.6);
Tailwind
colors: {
  custom: {
    50: '#c069ad',
    500: '#9f188b',
    950: '#000000',
  },
}
SCSS
$custom: #9f188b;
$custom-light: #c069ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9f188b",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 308.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4894,
    "c": 0.20157,
    "h": 335.6
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#9F188B
secondary
#4DC65F
accent
#F05337
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F188B

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

Preview Lab → · Contrast checker → · Palette generator →

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