#9E41D7#9E41D7

#9E41D7 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.0% C 0.222 H 309.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9E41D7
RGBrgb(158, 65, 215)
HSLhsl(277, 65%, 55%)
HSVhsv(277, 70%, 84%)
CMYKcmyk(26.5%, 69.8%, 0%, 15.7%)
CIE-LABlab(46.92, 62.50, -60.67)
CIE-LCHlch(46.92, 87.10, 315.85°)
OKLaboklab(57% 0.1412 -0.1718)
OKLCHoklch(57% 0.222 309.4)
XYZxyz(28.2541, 15.9565, 65.8683)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E41D7 #7AD741
analogous
#5341D7 #9E41D7 #D741C5
triadic
#9E41D7 #D79E41 #41D79E
tetradic
#9E41D7 #D75341 #7AD741 #41C5D7
square
#9E41D7 #D75341 #7AD741 #41C5D7
split-complementary
#9E41D7 #C5D741 #41D753
monochromatic
#5B1B82 #7F26B5 #9E41D7 #B874E2 #D2A6EC

Accessibility & contrast

On white

5.01
#9E41D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9E41D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E41D7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E41D7#FFFFFF#000000##FFFFFF
##9E41D71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#2270D4
Tritanopia (blue-blind)
#966288
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e41d7;
/* rgb */ color: rgb(158, 65, 215);
/* oklch */ color: oklch(57.0% 0.222 309.4);
Tailwind
colors: {
  custom: {
    50: '#bf7de4',
    500: '#9e41d7',
    950: '#000000',
  },
}
SCSS
$custom: #9e41d7;
$custom-light: #bf7de4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e41d7",
  "rgb": {
    "r": 158,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 277.2,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57003,
    "c": 0.22236,
    "h": 309.4
  },
  "luminance": 0.15956
}

Semantic roles & 50–950 ramp

primary
#9E41D7
secondary
#B2D99A
accent
#E84080
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E41D7

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

Preview Lab → · Contrast checker → · Palette generator →

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