#9E41D2#9E41D2

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

Color values

HEX#9E41D2
RGBrgb(158, 65, 210)
HSLhsl(278, 62%, 54%)
HSVhsv(278, 69%, 82%)
CMYKcmyk(24.8%, 69%, 0%, 17.6%)
CIE-LABlab(46.58, 61.43, -58.35)
CIE-LCHlch(46.58, 84.72, 316.48°)
OKLaboklab(56.66% 0.1418 -0.165)
OKLCHoklch(56.66% 0.218 310.7)
XYZxyz(27.6215, 15.7035, 62.5363)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E41D2 #75D241
analogous
#5641D2 #9E41D2 #D241BD
triadic
#9E41D2 #D29E41 #41D29E
tetradic
#9E41D2 #D25641 #75D241 #41BDD2
square
#9E41D2 #D25641 #75D241 #41BDD2
split-complementary
#9E41D2 #BDD241 #41D256
monochromatic
#5A1D7B #7E29AD #9E41D2 #B772DE #D1A4E9

Accessibility & contrast

On white

5.07
#9E41D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9E41D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E41D2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E41D2#FFFFFF#000000##FFFFFF
##9E41D21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#2B70CF
Tritanopia (blue-blind)
#976085
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e41d2;
/* rgb */ color: rgb(158, 65, 210);
/* oklch */ color: oklch(56.7% 0.218 310.7);
Tailwind
colors: {
  custom: {
    50: '#bf7de1',
    500: '#9e41d2',
    950: '#000000',
  },
}
SCSS
$custom: #9e41d2;
$custom-light: #bf7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e41d2",
  "rgb": {
    "r": 158,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 278.483,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.21751,
    "h": 310.7
  },
  "luminance": 0.15703
}

Semantic roles & 50–950 ramp

primary
#9E41D2
secondary
#AFD698
accent
#E5437D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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