#9E41D3#9E41D3

#9E41D3 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.218 H 310.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9E41D3
RGBrgb(158, 65, 211)
HSLhsl(278, 62%, 54%)
HSVhsv(278, 69%, 83%)
CMYKcmyk(25.1%, 69.2%, 0%, 17.3%)
CIE-LABlab(46.65, 61.65, -58.81)
CIE-LCHlch(46.65, 85.20, 316.35°)
OKLaboklab(56.73% 0.1417 -0.1663)
OKLCHoklch(56.73% 0.218 310.4)
XYZxyz(27.7465, 15.7535, 63.1945)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E41D3 #76D341
analogous
#5541D3 #9E41D3 #D341BF
triadic
#9E41D3 #D39E41 #41D39E
tetradic
#9E41D3 #D35541 #76D341 #41BFD3
square
#9E41D3 #D35541 #76D341 #41BFD3
split-complementary
#9E41D3 #BFD341 #41D355
monochromatic
#5A1D7D #7E28AE #9E41D3 #B773DF #D1A4EA

Accessibility & contrast

On white

5.06
#9E41D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9E41D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E41D3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E41D3#FFFFFF#000000##FFFFFF
##9E41D31.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#2970D0
Tritanopia (blue-blind)
#976185
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e41d3;
/* rgb */ color: rgb(158, 65, 211);
/* oklch */ color: oklch(56.7% 0.218 310.4);
Tailwind
colors: {
  custom: {
    50: '#bf7de1',
    500: '#9e41d3',
    950: '#000000',
  },
}
SCSS
$custom: #9e41d3;
$custom-light: #bf7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e41d3",
  "rgb": {
    "r": 158,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 278.219,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56727,
    "c": 0.21848,
    "h": 310.4
  },
  "luminance": 0.15753
}

Semantic roles & 50–950 ramp

primary
#9E41D3
secondary
#AFD799
accent
#E5427E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E41D3

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

Preview Lab → · Contrast checker → · Palette generator →

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