#9F1A98#9F1A98

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

Color values

HEX#9F1A98
RGBrgb(159, 26, 152)
HSLhsl(303, 72%, 36%)
HSVhsv(303, 84%, 62%)
CMYKcmyk(0%, 83.6%, 4.4%, 37.6%)
CIE-LABlab(38.51, 64.08, -37.06)
CIE-LCHlch(38.51, 74.02, 329.95°)
OKLaboklab(49.79% 0.1823 -0.1024)
OKLCHoklch(49.79% 0.209 330.7)
XYZxyz(20.3349, 10.3784, 30.6319)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A98 #1A9F21
analogous
#641A9F #9F1A98 #9F1A56
triadic
#9F1A98 #989F1A #1A989F
tetradic
#9F1A98 #9F641A #1A9F21 #1A569F
square
#9F1A98 #9F641A #1A9F21 #1A569F
split-complementary
#9F1A98 #569F1A #1A9F64
monochromatic
#360933 #6A1166 #9F1A98 #D423CA #E351DB

Accessibility & contrast

On white

6.83
#9F1A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9F1A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1A98
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A98#FFFFFF#000000##FFFFFF
##9F1A981.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#486195
Tritanopia (blue-blind)
#A52F5B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1a98;
/* rgb */ color: rgb(159, 26, 152);
/* oklch */ color: oklch(49.8% 0.209 330.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ab7',
    500: '#9f1a98',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a98;
$custom-light: #bf6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a98",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 303.158,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4979,
    "c": 0.20911,
    "h": 330.7
  },
  "luminance": 0.10377
}

Semantic roles & 50–950 ramp

primary
#9F1A98
secondary
#50C556
accent
#EF4339
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1A98

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

Preview Lab → · Contrast checker → · Palette generator →

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