#9F188F#9F188F

#9F188F is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.204 H 334.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9F188F
RGBrgb(159, 24, 143)
HSLhsl(307, 74%, 36%)
HSVhsv(307, 85%, 62%)
CMYKcmyk(0%, 84.9%, 10.1%, 37.6%)
CIE-LABlab(37.86, 63.16, -32.61)
CIE-LCHlch(37.86, 71.08, 332.70°)
OKLaboklab(49.16% 0.1836 -0.0895)
OKLCHoklch(49.16% 0.204 334)
XYZxyz(19.5829, 10.0092, 26.8819)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F188F #189F28
analogous
#6B189F #9F188F #9F184B
triadic
#9F188F #8F9F18 #188F9F
tetradic
#9F188F #9F6B18 #189F28 #184B9F
square
#9F188F #9F6B18 #189F28 #184B9F
split-complementary
#9F188F #4B9F18 #189F6B
monochromatic
#35082F #6A105F #9F188F #D420BF #E44DD2

Accessibility & contrast

On white

7.00
#9F188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9F188F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F188F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F188F#FFFFFF#000000##FFFFFF
##9F188F1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124D92
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#A72955
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f188f;
/* rgb */ color: rgb(159, 24, 143);
/* oklch */ color: oklch(49.2% 0.204 334.0);
Tailwind
colors: {
  custom: {
    50: '#bf69b0',
    500: '#9f188f',
    950: '#000000',
  },
}
SCSS
$custom: #9f188f;
$custom-light: #bf69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f188f",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 307.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49162,
    "c": 0.20428,
    "h": 334
  },
  "luminance": 0.10007
}

Semantic roles & 50–950 ramp

primary
#9F188F
secondary
#4DC65B
accent
#F04D37
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F188F

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

Preview Lab → · Contrast checker → · Palette generator →

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