#9F1793#9F1793

#9F1793 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.208 H 332.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9F1793
RGBrgb(159, 23, 147)
HSLhsl(305, 75%, 36%)
HSVhsv(305, 86%, 62%)
CMYKcmyk(0%, 85.5%, 7.5%, 37.6%)
CIE-LABlab(38.01, 63.96, -34.82)
CIE-LCHlch(38.01, 72.83, 331.44°)
OKLaboklab(49.34% 0.1843 -0.0959)
OKLCHoklch(49.34% 0.208 332.5)
XYZxyz(19.8710, 10.0921, 28.4995)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1793 #179F23
analogous
#67179F #9F1793 #9F174F
triadic
#9F1793 #939F17 #17939F
tetradic
#9F1793 #9F6717 #179F23 #174F9F
square
#9F1793 #9F6717 #179F23 #174F9F
split-complementary
#9F1793 #4F9F17 #179F67
monochromatic
#340830 #6A0F62 #9F1793 #D41FC4 #E54BD7

Accessibility & contrast

On white

6.96
#9F1793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9F1793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1793
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1793#FFFFFF#000000##FFFFFF
##9F17931.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074E96
Deuteranopia (green-blind)
#4A6090
Tritanopia (blue-blind)
#A62B57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1793;
/* rgb */ color: rgb(159, 23, 147);
/* oklch */ color: oklch(49.3% 0.208 332.5);
Tailwind
colors: {
  custom: {
    50: '#c069b3',
    500: '#9f1793',
    950: '#000000',
  },
}
SCSS
$custom: #9f1793;
$custom-light: #c069b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1793",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 147
  },
  "hsl": {
    "h": 305.294,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49339,
    "c": 0.20774,
    "h": 332.5
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#9F1793
secondary
#4BC756
accent
#F14736
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1793

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

Preview Lab → · Contrast checker → · Palette generator →

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