#9F1A8A#9F1A8A

#9F1A8A is a mid, vivid purple. Relative luminance 0.099; OKLCH L 49.0% C 0.199 H 336.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9F1A8A
RGBrgb(159, 26, 138)
HSLhsl(309, 72%, 36%)
HSVhsv(309, 84%, 62%)
CMYKcmyk(0%, 83.6%, 13.2%, 37.6%)
CIE-LABlab(37.75, 61.99, -29.71)
CIE-LCHlch(37.75, 68.75, 334.39°)
OKLaboklab(49% 0.1821 -0.0812)
OKLCHoklch(49% 0.199 336)
XYZxyz(19.2553, 9.9465, 24.9456)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A8A #1A9F2F
analogous
#721A9F #9F1A8A #9F1A48
triadic
#9F1A8A #8A9F1A #1A8A9F
tetradic
#9F1A8A #9F721A #1A9F2F #1A489F
square
#9F1A8A #9F721A #1A9F2F #1A489F
split-complementary
#9F1A8A #489F1A #1A9F72
monochromatic
#36092F #6A115C #9F1A8A #D423B8 #E351CC

Accessibility & contrast

On white

7.03
#9F1A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F1A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A8A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A8A#FFFFFF#000000##FFFFFF
##9F1A8A1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4C8D
Deuteranopia (green-blind)
#4F6087
Tritanopia (blue-blind)
#A82753
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1a8a;
/* rgb */ color: rgb(159, 26, 138);
/* oklch */ color: oklch(49.0% 0.199 336.0);
Tailwind
colors: {
  custom: {
    50: '#bf6aac',
    500: '#9f1a8a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a8a;
$custom-light: #bf6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a8a",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 309.474,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48996,
    "c": 0.1994,
    "h": 336
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#9F1A8A
secondary
#50C562
accent
#EF5639
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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