#9F1AA1#9F1AA1

#9F1AA1 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.216 H 327.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9F1AA1
RGBrgb(159, 26, 161)
HSLhsl(299, 72%, 37%)
HSVhsv(299, 84%, 63%)
CMYKcmyk(1.2%, 83.9%, 0%, 36.9%)
CIE-LABlab(39.04, 65.49, -41.66)
CIE-LCHlch(39.04, 77.62, 327.54°)
OKLaboklab(50.34% 0.1819 -0.1158)
OKLCHoklch(50.34% 0.216 327.5)
XYZxyz(21.1002, 10.6845, 34.6623)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1AA1 #1CA11A
analogous
#5C1AA1 #9F1AA1 #A11A60
triadic
#9F1AA1 #A19F1A #1AA19F
tetradic
#9F1AA1 #A15C1A #1CA11A #1A60A1
square
#9F1AA1 #A15C1A #1CA11A #1A60A1
split-complementary
#9F1AA1 #60A11A #1AA15C
monochromatic
#370938 #6B116C #9F1AA1 #D323D6 #E152E3

Accessibility & contrast

On white

6.70
#9F1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9F1AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1AA1
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1AA1#FFFFFF#000000##FFFFFF
##9F1AA11.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#42629E
Tritanopia (blue-blind)
#A43560
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f1aa1;
/* rgb */ color: rgb(159, 26, 161);
/* oklch */ color: oklch(50.3% 0.216 327.5);
Tailwind
colors: {
  custom: {
    50: '#c06bbd',
    500: '#9f1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #9f1aa1;
$custom-light: #c06bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1aa1",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 299.111,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.50336,
    "c": 0.21563,
    "h": 327.5
  },
  "luminance": 0.10683
}

Semantic roles & 50–950 ramp

primary
#9F1AA1
secondary
#53C651
accent
#EF393C
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9F1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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