#9E1A78#9E1A78

#9E1A78 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.187 H 343.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9E1A78
RGBrgb(158, 26, 120)
HSLhsl(317, 72%, 36%)
HSVhsv(317, 84%, 62%)
CMYKcmyk(0%, 83.5%, 24.1%, 38%)
CIE-LABlab(36.68, 59.32, -20.21)
CIE-LCHlch(36.68, 62.67, 341.19°)
OKLaboklab(47.91% 0.1794 -0.0542)
OKLCHoklch(47.91% 0.187 343.2)
XYZxyz(17.8608, 9.3659, 18.6329)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A78 #1A9E40
analogous
#821A9E #9E1A78 #9E1A36
triadic
#9E1A78 #789E1A #1A789E
tetradic
#9E1A78 #9E821A #1A9E40 #1A369E
square
#9E1A78 #9E821A #1A9E40 #1A369E
split-complementary
#9E1A78 #369E1A #1A9E82
monochromatic
#350928 #691150 #9E1A78 #D323A0 #E250B8

Accessibility & contrast

On white

7.31
#9E1A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9E1A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A78
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A78#FFFFFF#000000##FFFFFF
##9E1A781.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497A
Deuteranopia (green-blind)
#555E75
Tritanopia (blue-blind)
#A91A49
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1a78;
/* rgb */ color: rgb(158, 26, 120);
/* oklch */ color: oklch(47.9% 0.187 343.2);
Tailwind
colors: {
  custom: {
    50: '#bf699f',
    500: '#9e1a78',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a78;
$custom-light: #bf699f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a78",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 317.273,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4791,
    "c": 0.18735,
    "h": 343.2
  },
  "luminance": 0.09364
}

Semantic roles & 50–950 ramp

primary
#9E1A78
secondary
#4FC571
accent
#EE6D39
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1A78

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

Preview Lab → · Contrast checker → · Palette generator →

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