#9F1591#9F1591

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

Color values

HEX#9F1591
RGBrgb(159, 21, 145)
HSLhsl(306, 77%, 35%)
HSVhsv(306, 87%, 62%)
CMYKcmyk(0%, 86.8%, 8.8%, 37.6%)
CIE-LABlab(37.76, 64.07, -33.99)
CIE-LCHlch(37.76, 72.53, 332.05°)
OKLaboklab(49.13% 0.1854 -0.0935)
OKLCHoklch(49.13% 0.208 333.2)
XYZxyz(19.6772, 9.9534, 27.6674)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1591 #159F23
analogous
#68159F #9F1591 #9F154C
triadic
#9F1591 #919F15 #15919F
tetradic
#9F1591 #9F6815 #159F23 #154C9F
square
#9F1591 #9F6815 #159F23 #154C9F
split-complementary
#9F1591 #4C9F15 #159F68
monochromatic
#33072E #690E60 #9F1591 #D51CC2 #E748D7

Accessibility & contrast

On white

7.02
#9F1591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F1591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1591
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1591#FFFFFF#000000##FFFFFF
##9F15911.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094D94
Deuteranopia (green-blind)
#4A5F8E
Tritanopia (blue-blind)
#A72856
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1591;
/* rgb */ color: rgb(159, 21, 145);
/* oklch */ color: oklch(49.1% 0.208 333.2);
Tailwind
colors: {
  custom: {
    50: '#c068b2',
    500: '#9f1591',
    950: '#000000',
  },
}
SCSS
$custom: #9f1591;
$custom-light: #c068b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1591",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 145
  },
  "hsl": {
    "h": 306.087,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.49126,
    "c": 0.20768,
    "h": 333.2
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#9F1591
secondary
#48C855
accent
#F34835
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1591

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

Preview Lab → · Contrast checker → · Palette generator →

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