#9E41BB#9E41BB

#9E41BB is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.2% C 0.195 H 317.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9E41BB
RGBrgb(158, 65, 187)
HSLhsl(286, 48%, 49%)
HSVhsv(286, 65%, 73%)
CMYKcmyk(15.5%, 65.2%, 0%, 26.7%)
CIE-LABlab(45.13, 56.67, -47.35)
CIE-LCHlch(45.13, 73.85, 320.12°)
OKLaboklab(55.16% 0.1434 -0.1327)
OKLCHoklch(55.16% 0.195 317.2)
XYZxyz(24.9592, 14.6385, 48.5149)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E41BB #5EBB41
analogous
#6141BB #9E41BB #BB419B
triadic
#9E41BB #BB9E41 #41BB9E
tetradic
#9E41BB #BB6141 #5EBB41 #419BBB
square
#9E41BB #BB6141 #5EBB41 #419BBB
split-complementary
#9E41BB #9BBB41 #41BB61
monochromatic
#512160 #78318E #9E41BB #B66DCC #CC9ADC

Accessibility & contrast

On white

5.35
#9E41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9E41BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E41BB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E41BB#FFFFFF#000000##FFFFFF
##9E41BB1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1265BF
Deuteranopia (green-blind)
#446EB8
Tritanopia (blue-blind)
#9D5778
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e41bb;
/* rgb */ color: rgb(158, 65, 187);
/* oklch */ color: oklch(55.2% 0.195 317.2);
Tailwind
colors: {
  custom: {
    50: '#be7cd0',
    500: '#9e41bb',
    950: '#000000',
  },
}
SCSS
$custom: #9e41bb;
$custom-light: #be7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e41bb",
  "rgb": {
    "r": 158,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 285.738,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55157,
    "c": 0.19536,
    "h": 317.2
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

primary
#9E41BB
secondary
#9DC890
accent
#D85070
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9E41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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