#9F1196#9F1196

#9F1196 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.213 H 331.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9F1196
RGBrgb(159, 17, 150)
HSLhsl(304, 81%, 35%)
HSVhsv(304, 89%, 62%)
CMYKcmyk(0%, 89.3%, 5.7%, 37.6%)
CIE-LABlab(37.80, 65.52, -36.98)
CIE-LCHlch(37.80, 75.24, 330.56°)
OKLaboklab(49.25% 0.1874 -0.1021)
OKLCHoklch(49.25% 0.213 331.4)
XYZxyz(20.0036, 9.9756, 29.7202)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1196 #119F1A
analogous
#61119F #9F1196 #9F114F
triadic
#9F1196 #969F11 #11969F
tetradic
#9F1196 #9F6111 #119F1A #114F9F
square
#9F1196 #9F6111 #119F1A #114F9F
split-complementary
#9F1196 #4F9F11 #119F61
monochromatic
#30052E #680B62 #9F1196 #D617CA #EB40E0

Accessibility & contrast

On white

7.01
#9F1196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F1196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1196
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1196#FFFFFF#000000##FFFFFF
##9F11961.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#475F93
Tritanopia (blue-blind)
#A62A58
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1196;
/* rgb */ color: rgb(159, 17, 150);
/* oklch */ color: oklch(49.2% 0.213 331.4);
Tailwind
colors: {
  custom: {
    50: '#c068b5',
    500: '#9f1196',
    950: '#000000',
  },
}
SCSS
$custom: #9f1196;
$custom-light: #c068b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1196",
  "rgb": {
    "r": 159,
    "g": 17,
    "b": 150
  },
  "hsl": {
    "h": 303.803,
    "s": 80.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.49246,
    "c": 0.21347,
    "h": 331.4
  },
  "luminance": 0.09974
}

Semantic roles & 50–950 ramp

primary
#9F1196
secondary
#42CA4A
accent
#F73D31
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1196

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

Preview Lab → · Contrast checker → · Palette generator →

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