#9F1A9F#9F1A9F

#9F1A9F is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.214 H 328.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9F1A9F
RGBrgb(159, 26, 159)
HSLhsl(300, 72%, 36%)
HSVhsv(300, 84%, 62%)
CMYKcmyk(0%, 83.6%, 0%, 37.6%)
CIE-LABlab(38.92, 65.17, -40.65)
CIE-LCHlch(38.92, 76.81, 328.05°)
OKLaboklab(50.21% 0.182 -0.1128)
OKLCHoklch(50.21% 0.214 328.2)
XYZxyz(20.9252, 10.6145, 33.7409)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A9F #1A9F1A
analogous
#5D1A9F #9F1A9F #9F1A5D
triadic
#9F1A9F #9F9F1A #1A9F9F
tetradic
#9F1A9F #9F5D1A #1A9F1A #1A5D9F
square
#9F1A9F #9F5D1A #1A9F1A #1A5D9F
split-complementary
#9F1A9F #5D9F1A #1A9F5D
monochromatic
#360936 #6A116A #9F1A9F #D423D4 #E351E3

Accessibility & contrast

On white

6.73
#9F1A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9F1A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1A9F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A9F#FFFFFF#000000##FFFFFF
##9F1A9F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#44619C
Tritanopia (blue-blind)
#A4335F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f1a9f;
/* rgb */ color: rgb(159, 26, 159);
/* oklch */ color: oklch(50.2% 0.214 328.2);
Tailwind
colors: {
  custom: {
    50: '#c06abc',
    500: '#9f1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a9f;
$custom-light: #c06abc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a9f",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 300,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.21416,
    "h": 328.2
  },
  "luminance": 0.10613
}

Semantic roles & 50–950 ramp

primary
#9F1A9F
secondary
#50C550
accent
#EF3939
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9F1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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