#9F1FA0#9F1FA0

#9F1FA0 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.211 H 327.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9F1FA0
RGBrgb(159, 31, 160)
HSLhsl(300, 68%, 37%)
HSVhsv(300, 81%, 63%)
CMYKcmyk(0.6%, 80.6%, 0%, 37.3%)
CIE-LABlab(39.40, 64.13, -40.50)
CIE-LCHlch(39.40, 75.85, 327.73°)
OKLaboklab(50.57% 0.1786 -0.1124)
OKLCHoklch(50.57% 0.211 327.8)
XYZxyz(21.1330, 10.8905, 34.2399)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1FA0 #20A01F
analogous
#5F1FA0 #9F1FA0 #A01F60
triadic
#9F1FA0 #A09F1F #1FA09F
tetradic
#9F1FA0 #A05F1F #20A01F #1F60A0
square
#9F1FA0 #A05F1F #20A01F #1F60A0
split-complementary
#9F1FA0 #60A01F #1FA05F
monochromatic
#390B39 #6C156D #9F1FA0 #D229D3 #DE5ADF

Accessibility & contrast

On white

6.61
#9F1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9F1FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1FA0
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1FA0#FFFFFF#000000##FFFFFF
##9F1FA01.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#45629D
Tritanopia (blue-blind)
#A43660
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f1fa0;
/* rgb */ color: rgb(159, 31, 160);
/* oklch */ color: oklch(50.6% 0.211 327.8);
Tailwind
colors: {
  custom: {
    50: '#bf6cbd',
    500: '#9f1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #9f1fa0;
$custom-light: #bf6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1fa0",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 299.535,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50566,
    "c": 0.21103,
    "h": 327.8
  },
  "luminance": 0.10889
}

Semantic roles & 50–950 ramp

primary
#9F1FA0
secondary
#59C358
accent
#EA3D3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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