#9F1A8F#9F1A8F

#9F1A8F is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.203 H 334.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9F1A8F
RGBrgb(159, 26, 143)
HSLhsl(307, 72%, 36%)
HSVhsv(307, 84%, 62%)
CMYKcmyk(0%, 83.6%, 10.1%, 37.6%)
CIE-LABlab(38.01, 62.72, -32.37)
CIE-LCHlch(38.01, 70.58, 332.70°)
OKLaboklab(49.27% 0.1823 -0.0888)
OKLCHoklch(49.27% 0.203 334)
XYZxyz(19.6256, 10.0947, 26.8961)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A8F #1A9F2A
analogous
#6D1A9F #9F1A8F #9F1A4D
triadic
#9F1A8F #8F9F1A #1A8F9F
tetradic
#9F1A8F #9F6D1A #1A9F2A #1A4D9F
square
#9F1A8F #9F6D1A #1A9F2A #1A4D9F
split-complementary
#9F1A8F #4D9F1A #1A9F6D
monochromatic
#360930 #6A1160 #9F1A8F #D423BE #E351D1

Accessibility & contrast

On white

6.96
#9F1A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9F1A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1A8F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A8F#FFFFFF#000000##FFFFFF
##9F1A8F1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D92
Deuteranopia (green-blind)
#4D608C
Tritanopia (blue-blind)
#A72A56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1a8f;
/* rgb */ color: rgb(159, 26, 143);
/* oklch */ color: oklch(49.3% 0.203 334.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ab0',
    500: '#9f1a8f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a8f;
$custom-light: #bf6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a8f",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 307.218,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49271,
    "c": 0.2028,
    "h": 334
  },
  "luminance": 0.10093
}

Semantic roles & 50–950 ramp

primary
#9F1A8F
secondary
#50C55E
accent
#EF4F39
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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