#9F1C91#9F1C91

#9F1C91 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.203 H 333.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9F1C91
RGBrgb(159, 28, 145)
HSLhsl(306, 70%, 37%)
HSVhsv(306, 82%, 62%)
CMYKcmyk(0%, 82.4%, 8.8%, 37.6%)
CIE-LABlab(38.28, 62.54, -33.16)
CIE-LCHlch(38.28, 70.79, 332.07°)
OKLaboklab(49.5% 0.181 -0.0911)
OKLCHoklch(49.5% 0.203 333.3)
XYZxyz(19.8243, 10.2475, 27.7165)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C91 #1C9F2A
analogous
#6C1C9F #9F1C91 #9F1C50
triadic
#9F1C91 #919F1C #1C919F
tetradic
#9F1C91 #9F6C1C #1C9F2A #1C509F
square
#9F1C91 #9F6C1C #1C9F2A #1C509F
split-complementary
#9F1C91 #509F1C #1C9F6C
monochromatic
#370A32 #6B1362 #9F1C91 #D325C0 #E154D2

Accessibility & contrast

On white

6.89
#9F1C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F1C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1C91
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C91#FFFFFF#000000##FFFFFF
##9F1C911.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144E94
Deuteranopia (green-blind)
#4C618E
Tritanopia (blue-blind)
#A62C57
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1c91;
/* rgb */ color: rgb(159, 28, 145);
/* oklch */ color: oklch(49.5% 0.203 333.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ab1',
    500: '#9f1c91',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c91;
$custom-light: #bf6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c91",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 306.412,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.495,
    "c": 0.20263,
    "h": 333.3
  },
  "luminance": 0.10246
}

Semantic roles & 50–950 ramp

primary
#9F1C91
secondary
#53C45F
accent
#ED4E3B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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