#9E41DF#9E41DF

#9E41DF is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.6% C 0.230 H 307.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9E41DF
RGBrgb(158, 65, 223)
HSLhsl(275, 71%, 56%)
HSVhsv(275, 71%, 87%)
CMYKcmyk(29.1%, 70.9%, 0%, 12.5%)
CIE-LABlab(47.47, 64.23, -64.34)
CIE-LCHlch(47.47, 90.92, 314.95°)
OKLaboklab(57.57% 0.1401 -0.1826)
OKLCHoklch(57.57% 0.23 307.5)
XYZxyz(29.3073, 16.3778, 71.4150)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E41DF #82DF41
analogous
#4F41DF #9E41DF #DF41D1
triadic
#9E41DF #DF9E41 #41DF9E
tetradic
#9E41DF #DF4F41 #82DF41 #41D1DF
square
#9E41DF #DF4F41 #82DF41 #41D1DF
split-complementary
#9E41DF #D1DF41 #41DF4F
monochromatic
#5D188E #8021C2 #9E41DF #B975E8 #D3AAF1

Accessibility & contrast

On white

4.91
#9E41DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9E41DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E41DF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E41DF#FFFFFF#000000##FFFFFF
##9E41DF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#0971DC
Tritanopia (blue-blind)
#93658C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9e41df;
/* rgb */ color: rgb(158, 65, 223);
/* oklch */ color: oklch(57.6% 0.230 307.5);
Tailwind
colors: {
  custom: {
    50: '#c07dea',
    500: '#9e41df',
    950: '#000000',
  },
}
SCSS
$custom: #9e41df;
$custom-light: #c07dea;
$custom-dark: #000000;
JSON
{
  "hex": "#9e41df",
  "rgb": {
    "r": 158,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 275.316,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57567,
    "c": 0.23013,
    "h": 307.5
  },
  "luminance": 0.16377
}

Semantic roles & 50–950 ramp

primary
#9E41DF
secondary
#B8DE9D
accent
#EE3A84
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E41DF

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

Preview Lab → · Contrast checker → · Palette generator →

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