#9E1A93#9E1A93

#9E1A93 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.205 H 332.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9E1A93
RGBrgb(158, 26, 147)
HSLhsl(305, 72%, 36%)
HSVhsv(305, 84%, 62%)
CMYKcmyk(0%, 83.5%, 7%, 38%)
CIE-LABlab(38.05, 63.11, -34.76)
CIE-LCHlch(38.05, 72.05, 331.15°)
OKLaboklab(49.34% 0.1814 -0.0958)
OKLCHoklch(49.34% 0.205 332.2)
XYZxyz(19.7365, 10.1162, 28.5113)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A93 #1A9E25
analogous
#671A9E #9E1A93 #9E1A51
triadic
#9E1A93 #939E1A #1A939E
tetradic
#9E1A93 #9E671A #1A9E25 #1A519E
square
#9E1A93 #9E671A #1A9E25 #1A519E
split-complementary
#9E1A93 #519E1A #1A9E67
monochromatic
#350931 #691162 #9E1A93 #D323C4 #E250D6

Accessibility & contrast

On white

6.95
#9E1A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9E1A93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1A93
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A93#FFFFFF#000000##FFFFFF
##9E1A931.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4E96
Deuteranopia (green-blind)
#4A6090
Tritanopia (blue-blind)
#A52D58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1a93;
/* rgb */ color: rgb(158, 26, 147);
/* oklch */ color: oklch(49.3% 0.205 332.2);
Tailwind
colors: {
  custom: {
    50: '#bf6ab3',
    500: '#9e1a93',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a93;
$custom-light: #bf6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a93",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 305,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49336,
    "c": 0.20511,
    "h": 332.2
  },
  "luminance": 0.10114
}

Semantic roles & 50–950 ramp

primary
#9E1A93
secondary
#4FC559
accent
#EE4839
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1A93

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

Preview Lab → · Contrast checker → · Palette generator →

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