#9E1398#9E1398

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

Color values

HEX#9E1398
RGBrgb(158, 19, 152)
HSLhsl(303, 79%, 35%)
HSVhsv(303, 88%, 62%)
CMYKcmyk(0%, 88%, 3.8%, 38%)
CIE-LABlab(37.85, 65.29, -38.13)
CIE-LCHlch(37.85, 75.61, 329.72°)
OKLaboklab(49.29% 0.1854 -0.1055)
OKLCHoklch(49.29% 0.213 330.3)
XYZxyz(20.0009, 10.0035, 30.5771)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1398 #139E19
analogous
#5F139E #9E1398 #9E1353
triadic
#9E1398 #989E13 #13989E
tetradic
#9E1398 #9E5F13 #139E19 #13539E
square
#9E1398 #9E5F13 #139E19 #13539E
split-complementary
#9E1398 #539E13 #139E5F
monochromatic
#31062F #670C63 #9E1398 #D51ACD #E843E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1398#FFFFFF#000000##FFFFFF
##9E13981.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)
#004E9B
Deuteranopia (green-blind)
#455F95
Tritanopia (blue-blind)
#A42C5A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1398;
/* rgb */ color: rgb(158, 19, 152);
/* oklch */ color: oklch(49.3% 0.213 330.3);
Tailwind
colors: {
  custom: {
    50: '#bf68b7',
    500: '#9e1398',
    950: '#000000',
  },
}
SCSS
$custom: #9e1398;
$custom-light: #bf68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1398",
  "rgb": {
    "r": 158,
    "g": 19,
    "b": 152
  },
  "hsl": {
    "h": 302.59,
    "s": 78.531,
    "l": 34.706
  },
  "oklch": {
    "l": 0.49285,
    "c": 0.2133,
    "h": 330.3
  },
  "luminance": 0.10002
}

Semantic roles & 50–950 ramp

primary
#9E1398
secondary
#44C94A
accent
#F53B33
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1398

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

Preview Lab → · Contrast checker → · Palette generator →

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