#9E2EC3#9E2EC3

#9E2EC3 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.225 H 316.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9E2EC3
RGBrgb(158, 46, 195)
HSLhsl(285, 62%, 47%)
HSVhsv(285, 76%, 76%)
CMYKcmyk(19%, 76.4%, 0%, 23.5%)
CIE-LABlab(43.01, 65.69, -55.43)
CIE-LCHlch(43.01, 85.96, 319.84°)
OKLaboklab(53.8% 0.1618 -0.1563)
OKLCHoklch(53.8% 0.225 316)
XYZxyz(24.9263, 13.1642, 52.8471)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EC3 #53C32E
analogous
#542EC3 #9E2EC3 #C32E9D
triadic
#9E2EC3 #C39E2E #2EC39E
tetradic
#9E2EC3 #C3542E #53C32E #2E9DC3
square
#9E2EC3 #C3542E #53C32E #2E9DC3
split-complementary
#9E2EC3 #9DC32E #2EC354
monochromatic
#4E1760 #762291 #9E2EC3 #B757D7 #CD88E3

Accessibility & contrast

On white

5.78
#9E2EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9E2EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EC3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EC3#FFFFFF#000000##FFFFFF
##9E2EC31.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2C69C0
Tritanopia (blue-blind)
#9B4F78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e2ec3;
/* rgb */ color: rgb(158, 46, 195);
/* oklch */ color: oklch(53.8% 0.225 316.0);
Tailwind
colors: {
  custom: {
    50: '#bf73d6',
    500: '#9e2ec3',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ec3;
$custom-light: #bf73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ec3",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 285.101,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.22496,
    "h": 316
  },
  "luminance": 0.13163
}

Semantic roles & 50–950 ramp

primary
#9E2EC3
secondary
#93CD80
accent
#E5436B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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