#9E1A8F#9E1A8F

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

Color values

HEX#9E1A8F
RGBrgb(158, 26, 143)
HSLhsl(307, 72%, 36%)
HSVhsv(307, 84%, 62%)
CMYKcmyk(0%, 83.5%, 9.5%, 38%)
CIE-LABlab(37.83, 62.51, -32.67)
CIE-LCHlch(37.83, 70.53, 332.41°)
OKLaboklab(49.11% 0.1813 -0.0897)
OKLCHoklch(49.11% 0.202 333.7)
XYZxyz(19.4281, 9.9928, 26.8869)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A8F #1A9E29
analogous
#6B1A9E #9E1A8F #9E1A4D
triadic
#9E1A8F #8F9E1A #1A8F9E
tetradic
#9E1A8F #9E6B1A #1A9E29 #1A4D9E
square
#9E1A8F #9E6B1A #1A9E29 #1A4D9E
split-complementary
#9E1A8F #4D9E1A #1A9E6B
monochromatic
#350930 #69115F #9E1A8F #D323BF #E250D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1A8F#FFFFFF#000000##FFFFFF
##9E1A8F1.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)
#134D92
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#A62A56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1a8f;
/* rgb */ color: rgb(158, 26, 143);
/* oklch */ color: oklch(49.1% 0.202 333.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ab0',
    500: '#9e1a8f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a8f;
$custom-light: #bf6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a8f",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 306.818,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49107,
    "c": 0.20232,
    "h": 333.7
  },
  "luminance": 0.09991
}

Semantic roles & 50–950 ramp

primary
#9E1A8F
secondary
#4FC55C
accent
#EE4E39
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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