#9E2EC1#9E2EC1

#9E2EC1 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.223 H 316.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9E2EC1
RGBrgb(158, 46, 193)
HSLhsl(286, 62%, 47%)
HSVhsv(286, 76%, 76%)
CMYKcmyk(18.1%, 76.2%, 0%, 24.3%)
CIE-LABlab(42.88, 65.31, -54.48)
CIE-LCHlch(42.88, 85.05, 320.16°)
OKLaboklab(53.67% 0.1621 -0.1535)
OKLCHoklch(53.67% 0.223 316.6)
XYZxyz(24.7017, 13.0744, 51.6642)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EC1 #51C12E
analogous
#542EC1 #9E2EC1 #C12E9B
triadic
#9E2EC1 #C19E2E #2EC19E
tetradic
#9E2EC1 #C1542E #51C12E #2E9BC1
square
#9E2EC1 #C1542E #51C12E #2E9BC1
split-complementary
#9E2EC1 #9BC12E #2EC154
monochromatic
#4D165E #762290 #9E2EC1 #B856D7 #CD87E2

Accessibility & contrast

On white

5.81
#9E2EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9E2EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EC1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EC1#FFFFFF#000000##FFFFFF
##9E2EC11.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#2E68BE
Tritanopia (blue-blind)
#9C4F76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2ec1;
/* rgb */ color: rgb(158, 46, 193);
/* oklch */ color: oklch(53.7% 0.223 316.6);
Tailwind
colors: {
  custom: {
    50: '#bf73d4',
    500: '#9e2ec1',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ec1;
$custom-light: #bf73d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ec1",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 193
  },
  "hsl": {
    "h": 285.714,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53665,
    "c": 0.22324,
    "h": 316.6
  },
  "luminance": 0.13073
}

Semantic roles & 50–950 ramp

primary
#9E2EC1
secondary
#91CC7F
accent
#E5436A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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