#9F199D#9F199D

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

Color values

HEX#9F199D
RGBrgb(159, 25, 157)
HSLhsl(301, 73%, 36%)
HSVhsv(301, 84%, 62%)
CMYKcmyk(0%, 84.3%, 1.3%, 37.6%)
CIE-LABlab(38.73, 65.08, -39.75)
CIE-LCHlch(38.73, 76.25, 328.58°)
OKLaboklab(50.04% 0.1828 -0.1102)
OKLCHoklch(50.04% 0.213 328.9)
XYZxyz(20.7313, 10.5021, 32.8270)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F199D #199F1B
analogous
#5E199F #9F199D #9F195A
triadic
#9F199D #9D9F19 #199D9F
tetradic
#9F199D #9F5E19 #199F1B #195A9F
square
#9F199D #9F5E19 #199F1B #195A9F
split-complementary
#9F199D #5A9F19 #199F5E
monochromatic
#350835 #6A1169 #9F199D #D421D1 #E34FE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F199D#FFFFFF#000000##FFFFFF
##9F199D1.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)
#0050A0
Deuteranopia (green-blind)
#45619A
Tritanopia (blue-blind)
#A5325E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f199d;
/* rgb */ color: rgb(159, 25, 157);
/* oklch */ color: oklch(50.0% 0.213 328.9);
Tailwind
colors: {
  custom: {
    50: '#c06aba',
    500: '#9f199d',
    950: '#000000',
  },
}
SCSS
$custom: #9f199d;
$custom-light: #c06aba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f199d",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 157
  },
  "hsl": {
    "h": 300.896,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.50037,
    "c": 0.21342,
    "h": 328.9
  },
  "luminance": 0.10501
}

Semantic roles & 50–950 ramp

primary
#9F199D
secondary
#4EC650
accent
#F03B38
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9F199D

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

Preview Lab → · Contrast checker → · Palette generator →

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