#9F188E#9F188E

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

Color values

HEX#9F188E
RGBrgb(159, 24, 142)
HSLhsl(308, 74%, 36%)
HSVhsv(308, 85%, 62%)
CMYKcmyk(0%, 84.9%, 10.7%, 37.6%)
CIE-LABlab(37.80, 63.02, -32.08)
CIE-LCHlch(37.80, 70.71, 333.02°)
OKLaboklab(49.11% 0.1836 -0.088)
OKLCHoklch(49.11% 0.204 334.4)
XYZxyz(19.5074, 9.9790, 26.4847)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F188E #189F29
analogous
#6C189F #9F188E #9F184A
triadic
#9F188E #8E9F18 #188E9F
tetradic
#9F188E #9F6C18 #189F29 #184A9F
square
#9F188E #9F6C18 #189F29 #184A9F
split-complementary
#9F188E #4A9F18 #189F6C
monochromatic
#35082F #6A105F #9F188E #D420BD #E44DD1

Accessibility & contrast

On white

7.01
#9F188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F188E
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F188E#FFFFFF#000000##FFFFFF
##9F188E1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D91
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#A72855
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f188e;
/* rgb */ color: rgb(159, 24, 142);
/* oklch */ color: oklch(49.1% 0.204 334.4);
Tailwind
colors: {
  custom: {
    50: '#bf69af',
    500: '#9f188e',
    950: '#000000',
  },
}
SCSS
$custom: #9f188e;
$custom-light: #bf69af;
$custom-dark: #000000;
JSON
{
  "hex": "#9f188e",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 307.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49106,
    "c": 0.2036,
    "h": 334.4
  },
  "luminance": 0.09977
}

Semantic roles & 50–950 ramp

primary
#9F188E
secondary
#4DC65C
accent
#F04F37
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F188E

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

Preview Lab → · Contrast checker → · Palette generator →

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