#9F1794#9F1794

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

Color values

HEX#9F1794
RGBrgb(159, 23, 148)
HSLhsl(305, 75%, 36%)
HSVhsv(305, 86%, 62%)
CMYKcmyk(0%, 85.5%, 6.9%, 37.6%)
CIE-LABlab(38.06, 64.11, -35.34)
CIE-LCHlch(38.06, 73.21, 331.14°)
OKLaboklab(49.4% 0.1843 -0.0974)
OKLCHoklch(49.4% 0.208 332.1)
XYZxyz(19.9499, 10.1236, 28.9146)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1794 #179F22
analogous
#66179F #9F1794 #9F1750
triadic
#9F1794 #949F17 #17949F
tetradic
#9F1794 #9F6617 #179F22 #17509F
square
#9F1794 #9F6617 #179F22 #17509F
split-complementary
#9F1794 #509F17 #179F66
monochromatic
#340830 #6A0F62 #9F1794 #D41FC6 #E54BD9

Accessibility & contrast

On white

6.94
#9F1794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F1794
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1794#FFFFFF#000000##FFFFFF
##9F17941.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044E97
Deuteranopia (green-blind)
#496091
Tritanopia (blue-blind)
#A62B58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1794;
/* rgb */ color: rgb(159, 23, 148);
/* oklch */ color: oklch(49.4% 0.208 332.1);
Tailwind
colors: {
  custom: {
    50: '#c069b4',
    500: '#9f1794',
    950: '#000000',
  },
}
SCSS
$custom: #9f1794;
$custom-light: #c069b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1794",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 304.853,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49397,
    "c": 0.20843,
    "h": 332.1
  },
  "luminance": 0.10122
}

Semantic roles & 50–950 ramp

primary
#9F1794
secondary
#4BC755
accent
#F14636
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1794

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

Preview Lab → · Contrast checker → · Palette generator →

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