#9E41D8#9E41D8

#9E41D8 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.1% C 0.223 H 309.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9E41D8
RGBrgb(158, 65, 216)
HSLhsl(277, 66%, 55%)
HSVhsv(277, 70%, 85%)
CMYKcmyk(26.9%, 69.9%, 0%, 15.3%)
CIE-LABlab(46.99, 62.72, -61.13)
CIE-LCHlch(46.99, 87.58, 315.73°)
OKLaboklab(57.07% 0.1411 -0.1731)
OKLCHoklch(57.07% 0.223 309.2)
XYZxyz(28.3830, 16.0081, 66.5471)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E41D8 #7BD841
analogous
#5341D8 #9E41D8 #D841C6
triadic
#9E41D8 #D89E41 #41D89E
tetradic
#9E41D8 #D85341 #7BD841 #41C6D8
square
#9E41D8 #D85341 #7BD841 #41C6D8
split-complementary
#9E41D8 #C6D841 #41D853
monochromatic
#5B1B84 #7F25B6 #9E41D8 #B874E2 #D2A7ED

Accessibility & contrast

On white

5.00
#9E41D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9E41D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E41D8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E41D8#FFFFFF#000000##FFFFFF
##9E41D81.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#2071D5
Tritanopia (blue-blind)
#956388
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e41d8;
/* rgb */ color: rgb(158, 65, 216);
/* oklch */ color: oklch(57.1% 0.223 309.2);
Tailwind
colors: {
  custom: {
    50: '#bf7de5',
    500: '#9e41d8',
    950: '#000000',
  },
}
SCSS
$custom: #9e41d8;
$custom-light: #bf7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e41d8",
  "rgb": {
    "r": 158,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 276.954,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57073,
    "c": 0.22333,
    "h": 309.2
  },
  "luminance": 0.16008
}

Semantic roles & 50–950 ramp

primary
#9E41D8
secondary
#B3DA9B
accent
#E93F80
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E41D8

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

Preview Lab → · Contrast checker → · Palette generator →

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