#9F1396#9F1396

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

Color values

HEX#9F1396
RGBrgb(159, 19, 150)
HSLhsl(304, 79%, 35%)
HSVhsv(304, 88%, 62%)
CMYKcmyk(0%, 88.1%, 5.7%, 37.6%)
CIE-LABlab(37.91, 65.18, -36.80)
CIE-LCHlch(37.91, 74.85, 330.56°)
OKLaboklab(49.33% 0.1865 -0.1016)
OKLCHoklch(49.33% 0.212 331.4)
XYZxyz(20.0360, 10.0404, 29.7310)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1396 #139F1C
analogous
#62139F #9F1396 #9F1350
triadic
#9F1396 #969F13 #13969F
tetradic
#9F1396 #9F6213 #139F1C #13509F
square
#9F1396 #9F6213 #139F1C #13509F
split-complementary
#9F1396 #509F13 #139F62
monochromatic
#32062F #680C62 #9F1396 #D61ACA #E944DE

Accessibility & contrast

On white

6.98
#9F1396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F1396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1396
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1396#FFFFFF#000000##FFFFFF
##9F13961.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#476093
Tritanopia (blue-blind)
#A62B59
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1396;
/* rgb */ color: rgb(159, 19, 150);
/* oklch */ color: oklch(49.3% 0.212 331.4);
Tailwind
colors: {
  custom: {
    50: '#c068b5',
    500: '#9f1396',
    950: '#000000',
  },
}
SCSS
$custom: #9f1396;
$custom-light: #c068b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1396",
  "rgb": {
    "r": 159,
    "g": 19,
    "b": 150
  },
  "hsl": {
    "h": 303.857,
    "s": 78.652,
    "l": 34.902
  },
  "oklch": {
    "l": 0.49328,
    "c": 0.21234,
    "h": 331.4
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#9F1396
secondary
#45C94D
accent
#F53F33
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1396

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

Preview Lab → · Contrast checker → · Palette generator →

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