#9F1391#9F1391

#9F1391 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.209 H 333.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9F1391
RGBrgb(159, 19, 145)
HSLhsl(306, 79%, 35%)
HSVhsv(306, 88%, 62%)
CMYKcmyk(0%, 88.1%, 8.8%, 37.6%)
CIE-LABlab(37.63, 64.44, -34.19)
CIE-LCHlch(37.63, 72.95, 332.05°)
OKLaboklab(49.04% 0.1865 -0.0941)
OKLCHoklch(49.04% 0.209 333.2)
XYZxyz(19.6420, 9.8828, 27.6557)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1391 #139F21
analogous
#67139F #9F1391 #9F134B
triadic
#9F1391 #919F13 #13919F
tetradic
#9F1391 #9F6713 #139F21 #134B9F
square
#9F1391 #9F6713 #139F21 #134B9F
split-complementary
#9F1391 #4B9F13 #139F67
monochromatic
#32062D #680C5F #9F1391 #D61AC3 #E944D8

Accessibility & contrast

On white

7.06
#9F1391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1391
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1391#FFFFFF#000000##FFFFFF
##9F13911.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054C94
Deuteranopia (green-blind)
#4A5F8E
Tritanopia (blue-blind)
#A72756
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1391;
/* rgb */ color: rgb(159, 19, 145);
/* oklch */ color: oklch(49.0% 0.209 333.2);
Tailwind
colors: {
  custom: {
    50: '#c068b2',
    500: '#9f1391',
    950: '#000000',
  },
}
SCSS
$custom: #9f1391;
$custom-light: #c068b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1391",
  "rgb": {
    "r": 159,
    "g": 19,
    "b": 145
  },
  "hsl": {
    "h": 306,
    "s": 78.652,
    "l": 34.902
  },
  "oklch": {
    "l": 0.49036,
    "c": 0.20892,
    "h": 333.2
  },
  "luminance": 0.09881
}

Semantic roles & 50–950 ramp

primary
#9F1391
secondary
#45C952
accent
#F54633
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1391

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

Preview Lab → · Contrast checker → · Palette generator →

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