#9E2EAB#9E2EAB

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

Color values

HEX#9E2EAB
RGBrgb(158, 46, 171)
HSLhsl(294, 58%, 43%)
HSVhsv(294, 73%, 67%)
CMYKcmyk(7.6%, 73.1%, 0%, 32.9%)
CIE-LABlab(41.48, 61.23, -43.77)
CIE-LCHlch(41.48, 75.26, 324.44°)
OKLaboklab(52.23% 0.1642 -0.1221)
OKLCHoklch(52.23% 0.205 323.4)
XYZxyz(22.4275, 12.1647, 39.6869)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EAB #3BAB2E
analogous
#5F2EAB #9E2EAB #AB2E7A
triadic
#9E2EAB #AB9E2E #2EAB9E
tetradic
#9E2EAB #AB5F2E #3BAB2E #2E7AAB
square
#9E2EAB #AB5F2E #3BAB2E #2E7AAB
split-complementary
#9E2EAB #7AAB2E #2EAB5F
monochromatic
#45144B #71217B #9E2EAB #C048CE #D179DB

Accessibility & contrast

On white

6.12
#9E2EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9E2EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EAB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EAB#FFFFFF#000000##FFFFFF
##9E2EAB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#4366A8
Tritanopia (blue-blind)
#A1456A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2eab;
/* rgb */ color: rgb(158, 46, 171);
/* oklch */ color: oklch(52.2% 0.205 323.4);
Tailwind
colors: {
  custom: {
    50: '#be72c4',
    500: '#9e2eab',
    950: '#000000',
  },
}
SCSS
$custom: #9e2eab;
$custom-light: #be72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2eab",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 293.76,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.20464,
    "h": 323.4
  },
  "luminance": 0.12163
}

Semantic roles & 50–950 ramp

primary
#9E2EAB
secondary
#7AC372
accent
#E14757
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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