#9F1C99#9F1C99

#9F1C99 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.208 H 330.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9F1C99
RGBrgb(159, 28, 153)
HSLhsl(303, 70%, 37%)
HSVhsv(303, 82%, 62%)
CMYKcmyk(0%, 82.4%, 3.8%, 37.6%)
CIE-LABlab(38.73, 63.77, -37.32)
CIE-LCHlch(38.73, 73.89, 329.66°)
OKLaboklab(49.96% 0.181 -0.1032)
OKLCHoklch(49.96% 0.208 330.3)
XYZxyz(20.4630, 10.5030, 31.0804)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C99 #1C9F22
analogous
#641C9F #9F1C99 #9F1C58
triadic
#9F1C99 #999F1C #1C999F
tetradic
#9F1C99 #9F641C #1C9F22 #1C589F
square
#9F1C99 #9F641C #1C9F22 #1C589F
split-complementary
#9F1C99 #589F1C #1C9F64
monochromatic
#370A35 #6B1367 #9F1C99 #D325CB #E154DB

Accessibility & contrast

On white

6.77
#9F1C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9F1C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1C99
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C99#FFFFFF#000000##FFFFFF
##9F1C991.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#486196
Tritanopia (blue-blind)
#A5315C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1c99;
/* rgb */ color: rgb(159, 28, 153);
/* oklch */ color: oklch(50.0% 0.208 330.3);
Tailwind
colors: {
  custom: {
    50: '#bf6bb7',
    500: '#9f1c99',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c99;
$custom-light: #bf6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c99",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 302.748,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49963,
    "c": 0.20831,
    "h": 330.3
  },
  "luminance": 0.10501
}

Semantic roles & 50–950 ramp

primary
#9F1C99
secondary
#53C458
accent
#ED433B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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