#9F1A89#9F1A89

#9F1A89 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.9% C 0.199 H 336.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9F1A89
RGBrgb(159, 26, 137)
HSLhsl(310, 72%, 36%)
HSVhsv(310, 84%, 62%)
CMYKcmyk(0%, 83.6%, 13.8%, 37.6%)
CIE-LABlab(37.69, 61.85, -29.18)
CIE-LCHlch(37.69, 68.39, 334.74°)
OKLaboklab(48.94% 0.1821 -0.0797)
OKLCHoklch(48.94% 0.199 336.4)
XYZxyz(19.1832, 9.9177, 24.5661)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A89 #1A9F30
analogous
#731A9F #9F1A89 #9F1A47
triadic
#9F1A89 #899F1A #1A899F
tetradic
#9F1A89 #9F731A #1A9F30 #1A479F
square
#9F1A89 #9F731A #1A9F30 #1A479F
split-complementary
#9F1A89 #479F1A #1A9F73
monochromatic
#36092E #6A115C #9F1A89 #D423B6 #E351CA

Accessibility & contrast

On white

7.04
#9F1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1A89
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A89#FFFFFF#000000##FFFFFF
##9F1A891.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4C8C
Deuteranopia (green-blind)
#506086
Tritanopia (blue-blind)
#A82652
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1a89;
/* rgb */ color: rgb(159, 26, 137);
/* oklch */ color: oklch(48.9% 0.199 336.4);
Tailwind
colors: {
  custom: {
    50: '#bf69ac',
    500: '#9f1a89',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a89;
$custom-light: #bf69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a89",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 309.925,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48942,
    "c": 0.19873,
    "h": 336.4
  },
  "luminance": 0.09916
}

Semantic roles & 50–950 ramp

primary
#9F1A89
secondary
#50C563
accent
#EF5739
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1A89

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

Preview Lab → · Contrast checker → · Palette generator →

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