#9E1A8A#9E1A8A

#9E1A8A is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.8% C 0.199 H 335.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9E1A8A
RGBrgb(158, 26, 138)
HSLhsl(309, 72%, 36%)
HSVhsv(309, 84%, 62%)
CMYKcmyk(0%, 83.5%, 12.7%, 38%)
CIE-LABlab(37.56, 61.78, -30.02)
CIE-LCHlch(37.56, 68.68, 334.09°)
OKLaboklab(48.83% 0.1812 -0.0821)
OKLCHoklch(48.83% 0.199 335.6)
XYZxyz(19.0577, 9.8447, 24.9364)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A8A #1A9E2E
analogous
#701A9E #9E1A8A #9E1A48
triadic
#9E1A8A #8A9E1A #1A8A9E
tetradic
#9E1A8A #9E701A #1A9E2E #1A489E
square
#9E1A8A #9E701A #1A9E2E #1A489E
split-complementary
#9E1A8A #489E1A #1A9E70
monochromatic
#35092E #69115C #9E1A8A #D323B8 #E250CC

Accessibility & contrast

On white

7.07
#9E1A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9E1A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A8A
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A8A#FFFFFF#000000##FFFFFF
##9E1A8A1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#4E5F87
Tritanopia (blue-blind)
#A62753
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1a8a;
/* rgb */ color: rgb(158, 26, 138);
/* oklch */ color: oklch(48.8% 0.199 335.6);
Tailwind
colors: {
  custom: {
    50: '#bf69ac',
    500: '#9e1a8a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a8a;
$custom-light: #bf69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a8a",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 309.091,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4883,
    "c": 0.19889,
    "h": 335.6
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#9E1A8A
secondary
#4FC561
accent
#EE5539
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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