#9F1790#9F1790

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

Color values

HEX#9F1790
RGBrgb(159, 23, 144)
HSLhsl(307, 75%, 36%)
HSVhsv(307, 86%, 62%)
CMYKcmyk(0%, 85.5%, 9.4%, 37.6%)
CIE-LABlab(37.84, 63.52, -33.25)
CIE-LCHlch(37.84, 71.70, 332.37°)
OKLaboklab(49.17% 0.1843 -0.0914)
OKLCHoklch(49.17% 0.206 333.6)
XYZxyz(19.6387, 9.9991, 27.2759)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1790 #179F26
analogous
#6A179F #9F1790 #9F174C
triadic
#9F1790 #909F17 #17909F
tetradic
#9F1790 #9F6A17 #179F26 #174C9F
square
#9F1790 #9F6A17 #179F26 #174C9F
split-complementary
#9F1790 #4C9F17 #179F6A
monochromatic
#34082F #6A0F60 #9F1790 #D41FC0 #E54BD4

Accessibility & contrast

On white

7.00
#9F1790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9F1790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1790
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1790#FFFFFF#000000##FFFFFF
##9F17901.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4D93
Deuteranopia (green-blind)
#4B608D
Tritanopia (blue-blind)
#A72956
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1790;
/* rgb */ color: rgb(159, 23, 144);
/* oklch */ color: oklch(49.2% 0.206 333.6);
Tailwind
colors: {
  custom: {
    50: '#c069b1',
    500: '#9f1790',
    950: '#000000',
  },
}
SCSS
$custom: #9f1790;
$custom-light: #c069b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1790",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 306.618,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49167,
    "c": 0.20567,
    "h": 333.6
  },
  "luminance": 0.09997
}

Semantic roles & 50–950 ramp

primary
#9F1790
secondary
#4BC759
accent
#F14B36
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1790

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

Preview Lab → · Contrast checker → · Palette generator →

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