#9E2EAC#9E2EAC

#9E2EAC is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.205 H 323.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9E2EAC
RGBrgb(158, 46, 172)
HSLhsl(293, 58%, 43%)
HSVhsv(293, 73%, 67%)
CMYKcmyk(8.1%, 73.3%, 0%, 32.5%)
CIE-LABlab(41.54, 61.41, -44.27)
CIE-LCHlch(41.54, 75.70, 324.21°)
OKLaboklab(52.29% 0.1642 -0.1236)
OKLCHoklch(52.29% 0.205 323)
XYZxyz(22.5232, 12.2030, 40.1908)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EAC #3CAC2E
analogous
#5F2EAC #9E2EAC #AC2E7B
triadic
#9E2EAC #AC9E2E #2EAC9E
tetradic
#9E2EAC #AC5F2E #3CAC2E #2E7BAC
square
#9E2EAC #AC5F2E #3CAC2E #2E7BAC
split-complementary
#9E2EAC #7BAC2E #2EAC5F
monochromatic
#45144B #72217C #9E2EAC #BF49CE #D079DB

Accessibility & contrast

On white

6.10
#9E2EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9E2EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EAC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EAC#FFFFFF#000000##FFFFFF
##9E2EAC1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#4266A9
Tritanopia (blue-blind)
#A0456B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2eac;
/* rgb */ color: rgb(158, 46, 172);
/* oklch */ color: oklch(52.3% 0.205 323.0);
Tailwind
colors: {
  custom: {
    50: '#be72c5',
    500: '#9e2eac',
    950: '#000000',
  },
}
SCSS
$custom: #9e2eac;
$custom-light: #be72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2eac",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 293.333,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52288,
    "c": 0.20547,
    "h": 323
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

primary
#9E2EAC
secondary
#7BC372
accent
#E14758
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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