#9C1F89#9C1F89

#9C1F89 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.193 H 335.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9C1F89
RGBrgb(156, 31, 137)
HSLhsl(309, 67%, 37%)
HSVhsv(309, 80%, 61%)
CMYKcmyk(0%, 80.1%, 12.2%, 38.8%)
CIE-LABlab(37.58, 59.93, -29.39)
CIE-LCHlch(37.58, 66.75, 333.87°)
OKLaboklab(48.76% 0.1754 -0.0804)
OKLCHoklch(48.76% 0.193 335.4)
XYZxyz(18.7159, 9.8558, 24.5787)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F89 #1F9C32
analogous
#711F9C #9C1F89 #9C1F4B
triadic
#9C1F89 #899C1F #1F899C
tetradic
#9C1F89 #9C711F #1F9C32 #1F4B9C
square
#9C1F89 #9C711F #1F9C32 #1F4B9C
split-complementary
#9C1F89 #4B9C1F #1F9C71
monochromatic
#360B2F #69155C #9C1F89 #CF29B6 #DE58C9

Accessibility & contrast

On white

7.07
#9C1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9C1F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F89
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F89#FFFFFF#000000##FFFFFF
##9C1F891.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8C
Deuteranopia (green-blind)
#4E5F86
Tritanopia (blue-blind)
#A42A53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c1f89;
/* rgb */ color: rgb(156, 31, 137);
/* oklch */ color: oklch(48.8% 0.193 335.4);
Tailwind
colors: {
  custom: {
    50: '#bd6bac',
    500: '#9c1f89',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f89;
$custom-light: #bd6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f89",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 309.12,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4876,
    "c": 0.19294,
    "h": 335.4
  },
  "luminance": 0.09854
}

Semantic roles & 50–950 ramp

primary
#9C1F89
secondary
#55C166
accent
#EA583E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C1F89

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

Preview Lab → · Contrast checker → · Palette generator →

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