#9E41DB#9E41DB

#9E41DB is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.3% C 0.226 H 308.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9E41DB
RGBrgb(158, 65, 219)
HSLhsl(276, 68%, 56%)
HSVhsv(276, 70%, 86%)
CMYKcmyk(27.9%, 70.3%, 0%, 14.1%)
CIE-LABlab(47.19, 63.36, -62.51)
CIE-LCHlch(47.19, 89.01, 315.39°)
OKLaboklab(57.28% 0.1407 -0.1772)
OKLCHoklch(57.28% 0.226 308.4)
XYZxyz(28.7744, 16.1646, 68.6084)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E41DB #7EDB41
analogous
#5141DB #9E41DB #DB41CB
triadic
#9E41DB #DB9E41 #41DB9E
tetradic
#9E41DB #DB5141 #7EDB41 #41CBDB
square
#9E41DB #DB5141 #7EDB41 #41CBDB
split-complementary
#9E41DB #CBDB41 #41DB51
monochromatic
#5C1A88 #7F23BB #9E41DB #B874E5 #D3A8EE

Accessibility & contrast

On white

4.96
#9E41DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9E41DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E41DB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E41DB#FFFFFF#000000##FFFFFF
##9E41DB1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#1971D8
Tritanopia (blue-blind)
#95648A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9e41db;
/* rgb */ color: rgb(158, 65, 219);
/* oklch */ color: oklch(57.3% 0.226 308.4);
Tailwind
colors: {
  custom: {
    50: '#c07de7',
    500: '#9e41db',
    950: '#000000',
  },
}
SCSS
$custom: #9e41db;
$custom-light: #c07de7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e41db",
  "rgb": {
    "r": 158,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 276.234,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57283,
    "c": 0.22624,
    "h": 308.4
  },
  "luminance": 0.16164
}

Semantic roles & 50–950 ramp

primary
#9E41DB
secondary
#B5DC9C
accent
#EB3D82
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E41DB

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

Preview Lab → · Contrast checker → · Palette generator →

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