#9E1397#9E1397

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

Color values

HEX#9E1397
RGBrgb(158, 19, 151)
HSLhsl(303, 79%, 35%)
HSVhsv(303, 88%, 62%)
CMYKcmyk(0%, 88%, 4.4%, 38%)
CIE-LABlab(37.79, 65.14, -37.61)
CIE-LCHlch(37.79, 75.22, 330.00°)
OKLaboklab(49.23% 0.1854 -0.104)
OKLCHoklch(49.23% 0.213 330.7)
XYZxyz(19.9193, 9.9709, 30.1476)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1397 #139E1A
analogous
#60139E #9E1397 #9E1351
triadic
#9E1397 #979E13 #13979E
tetradic
#9E1397 #9E6013 #139E1A #13519E
square
#9E1397 #9E6013 #139E1A #13519E
split-complementary
#9E1397 #519E13 #139E60
monochromatic
#31062F #670C63 #9E1397 #D51ACB #E843E0

Accessibility & contrast

On white

7.01
#9E1397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E1397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1397
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1397#FFFFFF#000000##FFFFFF
##9E13971.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#465F94
Tritanopia (blue-blind)
#A42C59
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1397;
/* rgb */ color: rgb(158, 19, 151);
/* oklch */ color: oklch(49.2% 0.213 330.7);
Tailwind
colors: {
  custom: {
    50: '#bf68b6',
    500: '#9e1397',
    950: '#000000',
  },
}
SCSS
$custom: #9e1397;
$custom-light: #bf68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1397",
  "rgb": {
    "r": 158,
    "g": 19,
    "b": 151
  },
  "hsl": {
    "h": 303.022,
    "s": 78.531,
    "l": 34.706
  },
  "oklch": {
    "l": 0.49225,
    "c": 0.2126,
    "h": 330.7
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#9E1397
secondary
#44C94B
accent
#F53D33
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1397

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

Preview Lab → · Contrast checker → · Palette generator →

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