#9E41E8#9E41E8

#9E41E8 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.2% C 0.239 H 305.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9E41E8
RGBrgb(158, 65, 232)
HSLhsl(273, 78%, 58%)
HSVhsv(273, 72%, 91%)
CMYKcmyk(31.9%, 72%, 0%, 9%)
CIE-LABlab(48.10, 66.20, -68.41)
CIE-LCHlch(48.10, 95.20, 314.06°)
OKLaboklab(58.22% 0.1386 -0.1945)
OKLCHoklch(58.22% 0.239 305.5)
XYZxyz(30.5531, 16.8761, 77.9761)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E41E8 #8BE841
analogous
#4A41E8 #9E41E8 #E841DF
triadic
#9E41E8 #E89E41 #41E89E
tetradic
#9E41E8 #E84A41 #8BE841 #41DFE8
square
#9E41E8 #E84A41 #8BE841 #41DFE8
split-complementary
#9E41E8 #DFE841 #41E84A
monochromatic
#5F139C #8019D2 #9E41E8 #BA78EF #D6AEF5

Accessibility & contrast

On white

4.80
#9E41E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9E41E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E41E8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E41E8#FFFFFF#000000##FFFFFF
##9E41E81.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#906991
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9e41e8;
/* rgb */ color: rgb(158, 65, 232);
/* oklch */ color: oklch(58.2% 0.239 305.5);
Tailwind
colors: {
  custom: {
    50: '#c07ef0',
    500: '#9e41e8',
    950: '#000000',
  },
}
SCSS
$custom: #9e41e8;
$custom-light: #c07ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e41e8",
  "rgb": {
    "r": 158,
    "g": 65,
    "b": 232
  },
  "hsl": {
    "h": 273.413,
    "s": 78.404,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5822,
    "c": 0.23886,
    "h": 305.5
  },
  "luminance": 0.16876
}

Semantic roles & 50–950 ramp

primary
#9E41E8
secondary
#BFE4A1
accent
#F53389
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A17
muted
#827C85

Preview Lab

Preview with #9E41E8

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

Preview Lab → · Contrast checker → · Palette generator →

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