#9F199A#9F199A

#9F199A is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.211 H 330.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9F199A
RGBrgb(159, 25, 154)
HSLhsl(302, 73%, 36%)
HSVhsv(302, 84%, 62%)
CMYKcmyk(0%, 84.3%, 3.1%, 37.6%)
CIE-LABlab(38.55, 64.61, -38.21)
CIE-LCHlch(38.55, 75.06, 329.40°)
OKLaboklab(49.86% 0.1829 -0.1058)
OKLCHoklch(49.86% 0.211 330)
XYZxyz(20.4784, 10.4010, 31.4946)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F199A #199F1E
analogous
#61199F #9F199A #9F1957
triadic
#9F199A #9A9F19 #199A9F
tetradic
#9F199A #9F6119 #199F1E #19579F
square
#9F199A #9F6119 #199F1E #19579F
split-complementary
#9F199A #579F19 #199F61
monochromatic
#350834 #6A1167 #9F199A #D421CD #E34FDE

Accessibility & contrast

On white

6.82
#9F199A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F199A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F199A#FFFFFF#000000##FFFFFF
##9F199A1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#466197
Tritanopia (blue-blind)
#A5305C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f199a;
/* rgb */ color: rgb(159, 25, 154);
/* oklch */ color: oklch(49.9% 0.211 330.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ab8',
    500: '#9f199a',
    950: '#000000',
  },
}
SCSS
$custom: #9f199a;
$custom-light: #bf6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f199a",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 154
  },
  "hsl": {
    "h": 302.239,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49855,
    "c": 0.21127,
    "h": 330
  },
  "luminance": 0.10399
}

Semantic roles & 50–950 ramp

primary
#9F199A
secondary
#4EC653
accent
#F03F38
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F199A

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

Preview Lab → · Contrast checker → · Palette generator →

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