#9E2DAC#9E2DAC

#9E2DAC is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.207 H 323.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9E2DAC
RGBrgb(158, 45, 172)
HSLhsl(293, 59%, 43%)
HSVhsv(293, 74%, 67%)
CMYKcmyk(8.1%, 73.8%, 0%, 32.5%)
CIE-LABlab(41.42, 61.75, -44.46)
CIE-LCHlch(41.42, 76.09, 324.25°)
OKLaboklab(52.2% 0.1651 -0.1241)
OKLCHoklch(52.2% 0.207 323.1)
XYZxyz(22.4846, 12.1258, 40.1779)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DAC #3BAC2D
analogous
#5F2DAC #9E2DAC #AC2D7A
triadic
#9E2DAC #AC9E2D #2DAC9E
tetradic
#9E2DAC #AC5F2D #3BAC2D #2D7AAC
square
#9E2DAC #AC5F2D #3BAC2D #2D7AAC
split-complementary
#9E2DAC #7AAC2D #2DAC5F
monochromatic
#45144B #71207B #9E2DAC #C047CF #D178DC

Accessibility & contrast

On white

6.13
#9E2DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9E2DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2DAC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DAC#FFFFFF#000000##FFFFFF
##9E2DAC1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#4266A9
Tritanopia (blue-blind)
#A0446A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2dac;
/* rgb */ color: rgb(158, 45, 172);
/* oklch */ color: oklch(52.2% 0.207 323.1);
Tailwind
colors: {
  custom: {
    50: '#be72c5',
    500: '#9e2dac',
    950: '#000000',
  },
}
SCSS
$custom: #9e2dac;
$custom-light: #be72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2dac",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 293.386,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52201,
    "c": 0.20657,
    "h": 323.1
  },
  "luminance": 0.12124
}

Semantic roles & 50–950 ramp

primary
#9E2DAC
secondary
#7AC471
accent
#E24657
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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