#9E2EC9#9E2EC9

#9E2EC9 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.2% C 0.230 H 314.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9E2EC9
RGBrgb(158, 46, 201)
HSLhsl(283, 63%, 48%)
HSVhsv(283, 77%, 79%)
CMYKcmyk(21.4%, 77.1%, 0%, 21.2%)
CIE-LABlab(43.42, 66.86, -58.26)
CIE-LCHlch(43.42, 88.68, 318.93°)
OKLaboklab(54.22% 0.1609 -0.1646)
OKLCHoklch(54.22% 0.23 314.3)
XYZxyz(25.6184, 13.4410, 56.4919)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EC9 #59C92E
analogous
#502EC9 #9E2EC9 #C92EA6
triadic
#9E2EC9 #C99E2E #2EC99E
tetradic
#9E2EC9 #C9502E #59C92E #2EA6C9
square
#9E2EC9 #C9502E #59C92E #2EA6C9
split-complementary
#9E2EC9 #A6C92E #2EC950
monochromatic
#501765 #772397 #9E2EC9 #B65BD9 #CC8DE5

Accessibility & contrast

On white

5.69
#9E2EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9E2EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EC9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EC9#FFFFFF#000000##FFFFFF
##9E2EC91.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#2269C6
Tritanopia (blue-blind)
#9A527B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e2ec9;
/* rgb */ color: rgb(158, 46, 201);
/* oklch */ color: oklch(54.2% 0.230 314.3);
Tailwind
colors: {
  custom: {
    50: '#bf73da',
    500: '#9e2ec9',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ec9;
$custom-light: #bf73da;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ec9",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 283.355,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54223,
    "c": 0.23014,
    "h": 314.3
  },
  "luminance": 0.1344
}

Semantic roles & 50–950 ramp

primary
#9E2EC9
secondary
#99CF84
accent
#E6426F
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E2EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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