#9F1C97#9F1C97

#9F1C97 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.207 H 331.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9F1C97
RGBrgb(159, 28, 151)
HSLhsl(304, 70%, 37%)
HSVhsv(304, 82%, 62%)
CMYKcmyk(0%, 82.4%, 5%, 37.6%)
CIE-LABlab(38.62, 63.46, -36.29)
CIE-LCHlch(38.62, 73.10, 330.24°)
OKLaboklab(49.85% 0.181 -0.1002)
OKLCHoklch(49.85% 0.207 331)
XYZxyz(20.2992, 10.4375, 30.2177)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C97 #1C9F24
analogous
#661C9F #9F1C97 #9F1C56
triadic
#9F1C97 #979F1C #1C979F
tetradic
#9F1C97 #9F661C #1C9F24 #1C569F
square
#9F1C97 #9F661C #1C9F24 #1C569F
split-complementary
#9F1C97 #569F1C #1C9F66
monochromatic
#370A34 #6B1366 #9F1C97 #D325C8 #E154D8

Accessibility & contrast

On white

6.80
#9F1C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F1C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1C97
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C97#FFFFFF#000000##FFFFFF
##9F1C971.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05509A
Deuteranopia (green-blind)
#496194
Tritanopia (blue-blind)
#A6305B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1c97;
/* rgb */ color: rgb(159, 28, 151);
/* oklch */ color: oklch(49.8% 0.207 331.0);
Tailwind
colors: {
  custom: {
    50: '#bf6bb6',
    500: '#9f1c97',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c97;
$custom-light: #bf6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c97",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 303.664,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49845,
    "c": 0.20688,
    "h": 331
  },
  "luminance": 0.10436
}

Semantic roles & 50–950 ramp

primary
#9F1C97
secondary
#53C45A
accent
#ED463B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1C97

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

Preview Lab → · Contrast checker → · Palette generator →

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