#9E41D9#9E41D9

#9E41D9 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.1% C 0.224 H 308.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9E41D9
RGBrgb(158, 65, 217)
HSLhsl(277, 67%, 55%)
HSVhsv(277, 70%, 85%)
CMYKcmyk(27.2%, 70%, 0%, 14.9%)
CIE-LABlab(47.05, 62.93, -61.59)
CIE-LCHlch(47.05, 88.06, 315.61°)
OKLaboklab(57.14% 0.1409 -0.1745)
OKLCHoklch(57.14% 0.224 308.9)
XYZxyz(28.5127, 16.0600, 67.2300)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E41D9 #7CD941
analogous
#5241D9 #9E41D9 #D941C8
triadic
#9E41D9 #D99E41 #41D99E
tetradic
#9E41D9 #D95241 #7CD941 #41C8D9
square
#9E41D9 #D95241 #7CD941 #41C8D9
split-complementary
#9E41D9 #C8D941 #41D952
monochromatic
#5C1B85 #7F25B8 #9E41D9 #B874E3 #D2A7ED

Accessibility & contrast

On white

4.99
#9E41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9E41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E41D9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E41D9#FFFFFF#000000##FFFFFF
##9E41D91.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#1E71D6
Tritanopia (blue-blind)
#956389
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9e41d9;
/* rgb */ color: rgb(158, 65, 217);
/* oklch */ color: oklch(57.1% 0.224 308.9);
Tailwind
colors: {
  custom: {
    50: '#bf7de6',
    500: '#9e41d9',
    950: '#000000',
  },
}
SCSS
$custom: #9e41d9;
$custom-light: #bf7de6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e41d9",
  "rgb": {
    "r": 158,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 276.711,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57143,
    "c": 0.22429,
    "h": 308.9
  },
  "luminance": 0.16059
}

Semantic roles & 50–950 ramp

primary
#9E41D9
secondary
#B4DB9B
accent
#EA3E81
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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