#9E1EA1#9E1EA1

#9E1EA1 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.212 H 327.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9E1EA1
RGBrgb(158, 30, 161)
HSLhsl(299, 69%, 37%)
HSVhsv(299, 81%, 63%)
CMYKcmyk(1.9%, 81.4%, 0%, 36.9%)
CIE-LABlab(39.19, 64.35, -41.43)
CIE-LCHlch(39.19, 76.53, 327.23°)
OKLaboklab(50.41% 0.1782 -0.1152)
OKLCHoklch(50.41% 0.212 327.1)
XYZxyz(20.9975, 10.7724, 34.6847)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1EA1 #21A11E
analogous
#5D1EA1 #9E1EA1 #A11E62
triadic
#9E1EA1 #A19E1E #1EA19E
tetradic
#9E1EA1 #A15D1E #21A11E #1E62A1
square
#9E1EA1 #A15D1E #21A11E #1E62A1
split-complementary
#9E1EA1 #62A11E #1EA15D
monochromatic
#390B3A #6B146D #9E1EA1 #D128D5 #DD59E0

Accessibility & contrast

On white

6.66
#9E1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9E1EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1EA1
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1EA1#FFFFFF#000000##FFFFFF
##9E1EA11.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#43629E
Tritanopia (blue-blind)
#A33761
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e1ea1;
/* rgb */ color: rgb(158, 30, 161);
/* oklch */ color: oklch(50.4% 0.212 327.1);
Tailwind
colors: {
  custom: {
    50: '#bf6cbd',
    500: '#9e1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #9e1ea1;
$custom-light: #bf6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1ea1",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 298.626,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.21215,
    "h": 327.1
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#9E1EA1
secondary
#59C457
accent
#EB3C40
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9E1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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