#9F1A97#9F1A97

#9F1A97 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.208 H 331.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9F1A97
RGBrgb(159, 26, 151)
HSLhsl(304, 72%, 36%)
HSVhsv(304, 84%, 62%)
CMYKcmyk(0%, 83.6%, 5%, 37.6%)
CIE-LABlab(38.46, 63.92, -36.54)
CIE-LCHlch(38.46, 73.63, 330.24°)
OKLaboklab(49.73% 0.1823 -0.1009)
OKLCHoklch(49.73% 0.208 331)
XYZxyz(20.2534, 10.3458, 30.2024)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A97 #1A9F22
analogous
#651A9F #9F1A97 #9F1A55
triadic
#9F1A97 #979F1A #1A979F
tetradic
#9F1A97 #9F651A #1A9F22 #1A559F
square
#9F1A97 #9F651A #1A9F22 #1A559F
split-complementary
#9F1A97 #559F1A #1A9F65
monochromatic
#360933 #6A1165 #9F1A97 #D423C9 #E351DA

Accessibility & contrast

On white

6.84
#9F1A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9F1A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1A97
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A97#FFFFFF#000000##FFFFFF
##9F1A971.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014F9A
Deuteranopia (green-blind)
#486194
Tritanopia (blue-blind)
#A62F5A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1a97;
/* rgb */ color: rgb(159, 26, 151);
/* oklch */ color: oklch(49.7% 0.208 331.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ab6',
    500: '#9f1a97',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a97;
$custom-light: #bf6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a97",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 303.609,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49731,
    "c": 0.20841,
    "h": 331
  },
  "luminance": 0.10344
}

Semantic roles & 50–950 ramp

primary
#9F1A97
secondary
#50C557
accent
#EF4439
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1A97

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

Preview Lab → · Contrast checker → · Palette generator →

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