#9F199F#9F199F

#9F199F is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.215 H 328.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9F199F
RGBrgb(159, 25, 159)
HSLhsl(300, 73%, 36%)
HSVhsv(300, 84%, 62%)
CMYKcmyk(0%, 84.3%, 0%, 37.6%)
CIE-LABlab(38.85, 65.39, -40.77)
CIE-LCHlch(38.85, 77.06, 328.06°)
OKLaboklab(50.16% 0.1826 -0.1132)
OKLCHoklch(50.16% 0.215 328.2)
XYZxyz(20.9035, 10.5710, 33.7336)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F199F #199F19
analogous
#5C199F #9F199F #9F195C
triadic
#9F199F #9F9F19 #199F9F
tetradic
#9F199F #9F5C19 #199F19 #195C9F
square
#9F199F #9F5C19 #199F19 #195C9F
split-complementary
#9F199F #5C9F19 #199F5C
monochromatic
#350835 #6A116A #9F199F #D421D4 #E34FE3

Accessibility & contrast

On white

6.74
#9F199F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F199F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F199F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F199F#FFFFFF#000000##FFFFFF
##9F199F1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#43619C
Tritanopia (blue-blind)
#A4335F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f199f;
/* rgb */ color: rgb(159, 25, 159);
/* oklch */ color: oklch(50.2% 0.215 328.2);
Tailwind
colors: {
  custom: {
    50: '#c06abc',
    500: '#9f199f',
    950: '#000000',
  },
}
SCSS
$custom: #9f199f;
$custom-light: #c06abc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f199f",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 300,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.50159,
    "c": 0.21488,
    "h": 328.2
  },
  "luminance": 0.10569
}

Semantic roles & 50–950 ramp

primary
#9F199F
secondary
#4EC64E
accent
#F03838
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9F199F

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

Preview Lab → · Contrast checker → · Palette generator →

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