#9E1A95#9E1A95

#9E1A95 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.207 H 331.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9E1A95
RGBrgb(158, 26, 149)
HSLhsl(304, 72%, 36%)
HSVhsv(304, 84%, 62%)
CMYKcmyk(0%, 83.5%, 5.7%, 38%)
CIE-LABlab(38.16, 63.41, -35.80)
CIE-LCHlch(38.16, 72.82, 330.55°)
OKLaboklab(49.45% 0.1814 -0.0988)
OKLCHoklch(49.45% 0.207 331.4)
XYZxyz(19.8948, 10.1795, 29.3450)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A95 #1A9E23
analogous
#651A9E #9E1A95 #9E1A53
triadic
#9E1A95 #959E1A #1A959E
tetradic
#9E1A95 #9E651A #1A9E23 #1A539E
square
#9E1A95 #9E651A #1A9E23 #1A539E
split-complementary
#9E1A95 #539E1A #1A9E65
monochromatic
#350932 #691163 #9E1A95 #D323C7 #E250D8

Accessibility & contrast

On white

6.92
#9E1A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E1A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1A95
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A95#FFFFFF#000000##FFFFFF
##9E1A951.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054E98
Deuteranopia (green-blind)
#496092
Tritanopia (blue-blind)
#A52E59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1a95;
/* rgb */ color: rgb(158, 26, 149);
/* oklch */ color: oklch(49.5% 0.207 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ab4',
    500: '#9e1a95',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a95;
$custom-light: #bf6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a95",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 304.091,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49452,
    "c": 0.20653,
    "h": 331.4
  },
  "luminance": 0.10178
}

Semantic roles & 50–950 ramp

primary
#9E1A95
secondary
#4FC557
accent
#EE4639
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1A95

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

Preview Lab → · Contrast checker → · Palette generator →

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