#9E41B7#9E41B7

#9E41B7 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.9% C 0.192 H 318.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9E41B7
RGBrgb(158, 65, 183)
HSLhsl(287, 48%, 49%)
HSVhsv(287, 64%, 72%)
CMYKcmyk(13.7%, 64.5%, 0%, 28.2%)
CIE-LABlab(44.90, 55.87, -45.39)
CIE-LCHlch(44.90, 71.99, 320.91°)
OKLaboklab(54.91% 0.1434 -0.127)
OKLCHoklch(54.91% 0.192 318.5)
XYZxyz(24.5369, 14.4696, 46.2910)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E41B7 #5AB741
analogous
#6341B7 #9E41B7 #B74195
triadic
#9E41B7 #B79E41 #41B79E
tetradic
#9E41B7 #B76341 #5AB741 #4195B7
square
#9E41B7 #B76341 #5AB741 #4195B7
split-complementary
#9E41B7 #95B741 #41B763
monochromatic
#50215D #77318A #9E41B7 #B66BCA #CC98DA

Accessibility & contrast

On white

5.39
#9E41B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9E41B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E41B7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E41B7#FFFFFF#000000##FFFFFF
##9E41B71.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B64BB
Deuteranopia (green-blind)
#476DB4
Tritanopia (blue-blind)
#9E5676
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9e41b7;
/* rgb */ color: rgb(158, 65, 183);
/* oklch */ color: oklch(54.9% 0.192 318.5);
Tailwind
colors: {
  custom: {
    50: '#be7ccd',
    500: '#9e41b7',
    950: '#000000',
  },
}
SCSS
$custom: #9e41b7;
$custom-light: #be7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e41b7",
  "rgb": {
    "r": 158,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 287.288,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54911,
    "c": 0.19156,
    "h": 318.5
  },
  "luminance": 0.14469
}

Semantic roles & 50–950 ramp

primary
#9E41B7
secondary
#9AC68E
accent
#D7516D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9E41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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