#9E2AAC#9E2AAC

#9E2AAC is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.210 H 323.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9E2AAC
RGBrgb(158, 42, 172)
HSLhsl(294, 61%, 42%)
HSVhsv(294, 76%, 67%)
CMYKcmyk(8.1%, 75.6%, 0%, 32.5%)
CIE-LABlab(41.06, 62.76, -45.02)
CIE-LCHlch(41.06, 77.24, 324.35°)
OKLaboklab(51.95% 0.1678 -0.1257)
OKLCHoklch(51.95% 0.21 323.2)
XYZxyz(22.3742, 11.9049, 40.1411)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2AAC #38AC2A
analogous
#5D2AAC #9E2AAC #AC2A79
triadic
#9E2AAC #AC9E2A #2AAC9E
tetradic
#9E2AAC #AC5D2A #38AC2A #2A79AC
square
#9E2AAC #AC5D2A #38AC2A #2A79AC
split-complementary
#9E2AAC #79AC2A #2AAC5D
monochromatic
#44124A #711E7B #9E2AAC #C242D1 #D273DD

Accessibility & contrast

On white

6.21
#9E2AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9E2AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2AAC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2AAC#FFFFFF#000000##FFFFFF
##9E2AAC1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#4065A9
Tritanopia (blue-blind)
#A0436A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2aac;
/* rgb */ color: rgb(158, 42, 172);
/* oklch */ color: oklch(52.0% 0.210 323.2);
Tailwind
colors: {
  custom: {
    50: '#be70c5',
    500: '#9e2aac',
    950: '#000000',
  },
}
SCSS
$custom: #9e2aac;
$custom-light: #be70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2aac",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 293.538,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51952,
    "c": 0.20972,
    "h": 323.2
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

primary
#9E2AAC
secondary
#77C46D
accent
#E44455
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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