#9E1A9C#9E1A9C

#9E1A9C is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.212 H 328.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9E1A9C
RGBrgb(158, 26, 156)
HSLhsl(301, 72%, 36%)
HSVhsv(301, 84%, 62%)
CMYKcmyk(0%, 83.5%, 1.3%, 38%)
CIE-LABlab(38.57, 64.50, -39.41)
CIE-LCHlch(38.57, 75.59, 328.58°)
OKLaboklab(49.87% 0.1811 -0.1093)
OKLCHoklch(49.87% 0.212 328.9)
XYZxyz(20.4705, 10.4098, 32.3772)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A9C #1A9E1C
analogous
#5E1A9E #9E1A9C #9E1A5A
triadic
#9E1A9C #9C9E1A #1A9C9E
tetradic
#9E1A9C #9E5E1A #1A9E1C #1A5A9E
square
#9E1A9C #9E5E1A #1A9E1C #1A5A9E
split-complementary
#9E1A9C #5A9E1A #1A9E5E
monochromatic
#350934 #691168 #9E1A9C #D323D0 #E250E0

Accessibility & contrast

On white

6.81
#9E1A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9E1A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1A9C
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A9C#FFFFFF#000000##FFFFFF
##9E1A9C1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#456199
Tritanopia (blue-blind)
#A4325D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e1a9c;
/* rgb */ color: rgb(158, 26, 156);
/* oklch */ color: oklch(49.9% 0.212 328.9);
Tailwind
colors: {
  custom: {
    50: '#bf6aba',
    500: '#9e1a9c',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a9c;
$custom-light: #bf6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a9c",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 156
  },
  "hsl": {
    "h": 300.909,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4987,
    "c": 0.21155,
    "h": 328.9
  },
  "luminance": 0.10408
}

Semantic roles & 50–950 ramp

primary
#9E1A9C
secondary
#4FC551
accent
#EE3C39
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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