#9E41B2#9E41B2

#9E41B2 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.6% C 0.187 H 320.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9E41B2
RGBrgb(158, 65, 178)
HSLhsl(289, 47%, 48%)
HSVhsv(289, 63%, 70%)
CMYKcmyk(11.2%, 63.5%, 0%, 30.2%)
CIE-LABlab(44.61, 54.89, -42.91)
CIE-LCHlch(44.61, 69.67, 321.98°)
OKLaboklab(54.61% 0.1434 -0.1197)
OKLCHoklch(54.61% 0.187 320.1)
XYZxyz(24.0257, 14.2652, 43.5988)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E41B2 #55B241
analogous
#6641B2 #9E41B2 #B2418D
triadic
#9E41B2 #B29E41 #41B29E
tetradic
#9E41B2 #B26641 #55B241 #418DB2
square
#9E41B2 #B26641 #55B241 #418DB2
split-complementary
#9E41B2 #8DB241 #41B266
monochromatic
#4E2058 #763185 #9E41B2 #B768C8 #CC95D8

Accessibility & contrast

On white

5.45
#9E41B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9E41B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E41B2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E41B2#FFFFFF#000000##FFFFFF
##9E41B21.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B5
Deuteranopia (green-blind)
#4B6DAF
Tritanopia (blue-blind)
#9F5474
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9e41b2;
/* rgb */ color: rgb(158, 65, 178);
/* oklch */ color: oklch(54.6% 0.187 320.1);
Tailwind
colors: {
  custom: {
    50: '#be7cc9',
    500: '#9e41b2',
    950: '#000000',
  },
}
SCSS
$custom: #9e41b2;
$custom-light: #be7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e41b2",
  "rgb": {
    "r": 158,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 289.381,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5461,
    "c": 0.18684,
    "h": 320.1
  },
  "luminance": 0.14264
}

Semantic roles & 50–950 ramp

primary
#9E41B2
secondary
#95C48B
accent
#D65269
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9E41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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