#9E41CA#9E41CA

#9E41CA is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.1% C 0.210 H 312.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9E41CA
RGBrgb(158, 65, 202)
HSLhsl(281, 56%, 52%)
HSVhsv(281, 68%, 79%)
CMYKcmyk(21.8%, 67.8%, 0%, 20.8%)
CIE-LABlab(46.06, 59.75, -54.58)
CIE-LCHlch(46.06, 80.92, 317.59°)
OKLaboklab(56.12% 0.1425 -0.1539)
OKLCHoklch(56.12% 0.21 312.8)
XYZxyz(26.6496, 15.3147, 57.4179)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E41CA #6DCA41
analogous
#5A41CA #9E41CA #CA41B2
triadic
#9E41CA #CA9E41 #41CA9E
tetradic
#9E41CA #CA5A41 #6DCA41 #41B2CA
square
#9E41CA #CA5A41 #6DCA41 #41B2CA
split-complementary
#9E41CA #B2CA41 #41CA5A
monochromatic
#572071 #7C2DA1 #9E41CA #B671D7 #CFA1E5

Accessibility & contrast

On white

5.17
#9E41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9E41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E41CA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E41CA#FFFFFF#000000##FFFFFF
##9E41CA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#366FC7
Tritanopia (blue-blind)
#995D80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e41ca;
/* rgb */ color: rgb(158, 65, 202);
/* oklch */ color: oklch(56.1% 0.210 312.8);
Tailwind
colors: {
  custom: {
    50: '#bf7ddb',
    500: '#9e41ca',
    950: '#000000',
  },
}
SCSS
$custom: #9e41ca;
$custom-light: #bf7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e41ca",
  "rgb": {
    "r": 158,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 280.73,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56121,
    "c": 0.20976,
    "h": 312.8
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

primary
#9E41CA
secondary
#A9D196
accent
#E04879
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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