#9E1A8E#9E1A8E

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

Color values

HEX#9E1A8E
RGBrgb(158, 26, 142)
HSLhsl(307, 72%, 36%)
HSVhsv(307, 84%, 62%)
CMYKcmyk(0%, 83.5%, 10.1%, 38%)
CIE-LABlab(37.78, 62.36, -32.14)
CIE-LCHlch(37.78, 70.15, 332.74°)
OKLaboklab(49.05% 0.1813 -0.0882)
OKLCHoklch(49.05% 0.202 334.1)
XYZxyz(19.3526, 9.9627, 26.4897)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A8E #1A9E2A
analogous
#6C1A9E #9E1A8E #9E1A4C
triadic
#9E1A8E #8E9E1A #1A8E9E
tetradic
#9E1A8E #9E6C1A #1A9E2A #1A4C9E
square
#9E1A8E #9E6C1A #1A9E2A #1A4C9E
split-complementary
#9E1A8E #4C9E1A #1A9E6C
monochromatic
#350930 #69115F #9E1A8E #D323BD #E250D1

Accessibility & contrast

On white

7.02
#9E1A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1A8E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A8E#FFFFFF#000000##FFFFFF
##9E1A8E1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D91
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#A62A55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1a8e;
/* rgb */ color: rgb(158, 26, 142);
/* oklch */ color: oklch(49.1% 0.202 334.1);
Tailwind
colors: {
  custom: {
    50: '#bf6aaf',
    500: '#9e1a8e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a8e;
$custom-light: #bf6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a8e",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 307.273,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49051,
    "c": 0.20163,
    "h": 334.1
  },
  "luminance": 0.09961
}

Semantic roles & 50–950 ramp

primary
#9E1A8E
secondary
#4FC55D
accent
#EE4F39
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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