#9F1A8E#9F1A8E

#9F1A8E is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.202 H 334.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9F1A8E
RGBrgb(159, 26, 142)
HSLhsl(308, 72%, 36%)
HSVhsv(308, 84%, 62%)
CMYKcmyk(0%, 83.6%, 10.7%, 37.6%)
CIE-LABlab(37.96, 62.57, -31.84)
CIE-LCHlch(37.96, 70.21, 333.03°)
OKLaboklab(49.22% 0.1823 -0.0873)
OKLCHoklch(49.22% 0.202 334.4)
XYZxyz(19.5502, 10.0645, 26.4990)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A8E #1A9F2B
analogous
#6E1A9F #9F1A8E #9F1A4C
triadic
#9F1A8E #8E9F1A #1A8E9F
tetradic
#9F1A8E #9F6E1A #1A9F2B #1A4C9F
square
#9F1A8E #9F6E1A #1A9F2B #1A4C9F
split-complementary
#9F1A8E #4C9F1A #1A9F6E
monochromatic
#360930 #6A115F #9F1A8E #D423BD #E351D0

Accessibility & contrast

On white

6.97
#9F1A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F1A8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1A8E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A8E#FFFFFF#000000##FFFFFF
##9F1A8E1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D91
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#A72955
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1a8e;
/* rgb */ color: rgb(159, 26, 142);
/* oklch */ color: oklch(49.2% 0.202 334.4);
Tailwind
colors: {
  custom: {
    50: '#bf6aaf',
    500: '#9f1a8e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a8e;
$custom-light: #bf6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a8e",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 307.669,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49215,
    "c": 0.20212,
    "h": 334.4
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#9F1A8E
secondary
#50C55F
accent
#EF5039
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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