#9F1789#9F1789

#9F1789 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.201 H 336.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9F1789
RGBrgb(159, 23, 137)
HSLhsl(310, 75%, 36%)
HSVhsv(310, 86%, 62%)
CMYKcmyk(0%, 85.5%, 13.8%, 37.6%)
CIE-LABlab(37.47, 62.51, -29.54)
CIE-LCHlch(37.47, 69.14, 334.71°)
OKLaboklab(48.78% 0.184 -0.0807)
OKLCHoklch(48.78% 0.201 336.3)
XYZxyz(19.1202, 9.7917, 24.5451)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1789 #179F2D
analogous
#71179F #9F1789 #9F1745
triadic
#9F1789 #899F17 #17899F
tetradic
#9F1789 #9F7117 #179F2D #17459F
square
#9F1789 #9F7117 #179F2D #17459F
split-complementary
#9F1789 #459F17 #179F71
monochromatic
#34082D #6A0F5B #9F1789 #D41FB7 #E54BCC

Accessibility & contrast

On white

7.10
#9F1789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F1789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1789
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1789#FFFFFF#000000##FFFFFF
##9F17891.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8C
Deuteranopia (green-blind)
#4F5F86
Tritanopia (blue-blind)
#A82452
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1789;
/* rgb */ color: rgb(159, 23, 137);
/* oklch */ color: oklch(48.8% 0.201 336.3);
Tailwind
colors: {
  custom: {
    50: '#c069ac',
    500: '#9f1789',
    950: '#000000',
  },
}
SCSS
$custom: #9f1789;
$custom-light: #c069ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1789",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 309.706,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48779,
    "c": 0.20095,
    "h": 336.3
  },
  "luminance": 0.0979
}

Semantic roles & 50–950 ramp

primary
#9F1789
secondary
#4BC75F
accent
#F15536
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1789

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

Preview Lab → · Contrast checker → · Palette generator →

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