#9F1FA9#9F1FA9

#9F1FA9 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.218 H 324.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9F1FA9
RGBrgb(159, 31, 169)
HSLhsl(296, 69%, 39%)
HSVhsv(296, 82%, 66%)
CMYKcmyk(5.9%, 81.7%, 0%, 33.7%)
CIE-LABlab(39.94, 65.62, -45.02)
CIE-LCHlch(39.94, 79.58, 325.55°)
OKLaboklab(51.13% 0.1779 -0.1256)
OKLCHoklch(51.13% 0.218 324.8)
XYZxyz(21.9489, 11.2169, 38.5374)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1FA9 #29A91F
analogous
#5A1FA9 #9F1FA9 #A91F6E
triadic
#9F1FA9 #A99F1F #1FA99F
tetradic
#9F1FA9 #A95A1F #29A91F #1F6EA9
square
#9F1FA9 #A95A1F #29A91F #1F6EA9
split-complementary
#9F1FA9 #6EA91F #1FA95A
monochromatic
#3E0C42 #6E1675 #9F1FA9 #CC2DD8 #D960E2

Accessibility & contrast

On white

6.48
#9F1FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9F1FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1FA9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1FA9#FFFFFF#000000##FFFFFF
##9F1FA91.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#3E63A6
Tritanopia (blue-blind)
#A23B66
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f1fa9;
/* rgb */ color: rgb(159, 31, 169);
/* oklch */ color: oklch(51.1% 0.218 324.8);
Tailwind
colors: {
  custom: {
    50: '#c06cc3',
    500: '#9f1fa9',
    950: '#000000',
  },
}
SCSS
$custom: #9f1fa9;
$custom-light: #c06cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1fa9",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 295.652,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5113,
    "c": 0.21781,
    "h": 324.8
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#9F1FA9
secondary
#65C75D
accent
#EC3C49
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9F1FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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