#9F198E#9F198E

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

Color values

HEX#9F198E
RGBrgb(159, 25, 142)
HSLhsl(308, 73%, 36%)
HSVhsv(308, 84%, 62%)
CMYKcmyk(0%, 84.3%, 10.7%, 37.6%)
CIE-LABlab(37.88, 62.80, -31.96)
CIE-LCHlch(37.88, 70.46, 333.03°)
OKLaboklab(49.16% 0.183 -0.0877)
OKLCHoklch(49.16% 0.203 334.4)
XYZxyz(19.5284, 10.0210, 26.4917)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F198E #199F2A
analogous
#6D199F #9F198E #9F194B
triadic
#9F198E #8E9F19 #198E9F
tetradic
#9F198E #9F6D19 #199F2A #194B9F
square
#9F198E #9F6D19 #199F2A #194B9F
split-complementary
#9F198E #4B9F19 #199F6D
monochromatic
#350830 #6A115F #9F198E #D421BD #E34FD1

Accessibility & contrast

On white

6.99
#9F198E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F198E
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F198E#FFFFFF#000000##FFFFFF
##9F198E1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f198e;
/* rgb */ color: rgb(159, 25, 142);
/* oklch */ color: oklch(49.2% 0.203 334.4);
Tailwind
colors: {
  custom: {
    50: '#bf69af',
    500: '#9f198e',
    950: '#000000',
  },
}
SCSS
$custom: #9f198e;
$custom-light: #bf69af;
$custom-dark: #000000;
JSON
{
  "hex": "#9f198e",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 307.612,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4916,
    "c": 0.20287,
    "h": 334.4
  },
  "luminance": 0.10019
}

Semantic roles & 50–950 ramp

primary
#9F198E
secondary
#4EC65D
accent
#F05038
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F198E

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

Preview Lab → · Contrast checker → · Palette generator →

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