#9F1A95#9F1A95

#9F1A95 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.207 H 331.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9F1A95
RGBrgb(159, 26, 149)
HSLhsl(305, 72%, 36%)
HSVhsv(305, 84%, 62%)
CMYKcmyk(0%, 83.6%, 6.3%, 37.6%)
CIE-LABlab(38.34, 63.62, -35.51)
CIE-LCHlch(38.34, 72.85, 330.83°)
OKLaboklab(49.61% 0.1824 -0.0979)
OKLCHoklch(49.61% 0.207 331.8)
XYZxyz(20.0923, 10.2814, 29.3542)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A95 #1A9F24
analogous
#671A9F #9F1A95 #9F1A53
triadic
#9F1A95 #959F1A #1A959F
tetradic
#9F1A95 #9F671A #1A9F24 #1A539F
square
#9F1A95 #9F671A #1A9F24 #1A539F
split-complementary
#9F1A95 #539F1A #1A9F67
monochromatic
#360932 #6A1164 #9F1A95 #D423C6 #E351D8

Accessibility & contrast

On white

6.87
#9F1A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F1A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1A95
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A95#FFFFFF#000000##FFFFFF
##9F1A951.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074F98
Deuteranopia (green-blind)
#4A6192
Tritanopia (blue-blind)
#A62E59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1a95;
/* rgb */ color: rgb(159, 26, 149);
/* oklch */ color: oklch(49.6% 0.207 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf6ab4',
    500: '#9f1a95',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a95;
$custom-light: #bf6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a95",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 304.511,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49614,
    "c": 0.20699,
    "h": 331.8
  },
  "luminance": 0.1028
}

Semantic roles & 50–950 ramp

primary
#9F1A95
secondary
#50C559
accent
#EF4739
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1A95

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

Preview Lab → · Contrast checker → · Palette generator →

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