#9F199B#9F199B

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

Color values

HEX#9F199B
RGBrgb(159, 25, 155)
HSLhsl(302, 73%, 36%)
HSVhsv(302, 84%, 62%)
CMYKcmyk(0%, 84.3%, 2.5%, 37.6%)
CIE-LABlab(38.61, 64.76, -38.73)
CIE-LCHlch(38.61, 75.46, 329.12°)
OKLaboklab(49.92% 0.1829 -0.1073)
OKLCHoklch(49.92% 0.212 329.6)
XYZxyz(20.5620, 10.4344, 31.9351)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F199B #199F1D
analogous
#60199F #9F199B #9F1958
triadic
#9F199B #9B9F19 #199B9F
tetradic
#9F199B #9F6019 #199F1D #19589F
square
#9F199B #9F6019 #199F1D #19589F
split-complementary
#9F199B #589F19 #199F60
monochromatic
#350834 #6A1167 #9F199B #D421CF #E34FDF

Accessibility & contrast

On white

6.80
#9F199B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F199B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F199B
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F199B#FFFFFF#000000##FFFFFF
##9F199B1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#466198
Tritanopia (blue-blind)
#A5315C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f199b;
/* rgb */ color: rgb(159, 25, 155);
/* oklch */ color: oklch(49.9% 0.212 329.6);
Tailwind
colors: {
  custom: {
    50: '#bf6ab9',
    500: '#9f199b',
    950: '#000000',
  },
}
SCSS
$custom: #9f199b;
$custom-light: #bf6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f199b",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 155
  },
  "hsl": {
    "h": 301.791,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49915,
    "c": 0.21199,
    "h": 329.6
  },
  "luminance": 0.10433
}

Semantic roles & 50–950 ramp

primary
#9F199B
secondary
#4EC652
accent
#F03E38
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F199B

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

Preview Lab → · Contrast checker → · Palette generator →

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