#9E2AC4#9E2AC4

#9E2AC4 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.6% C 0.230 H 315.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9E2AC4
RGBrgb(158, 42, 196)
HSLhsl(285, 65%, 47%)
HSVhsv(285, 79%, 77%)
CMYKcmyk(19.4%, 78.6%, 0%, 23.1%)
CIE-LABlab(42.63, 67.18, -56.63)
CIE-LCHlch(42.63, 87.86, 319.87°)
OKLaboklab(53.56% 0.1649 -0.1598)
OKLCHoklch(53.56% 0.23 315.9)
XYZxyz(24.8907, 12.9116, 53.3949)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2AC4 #50C42A
analogous
#512AC4 #9E2AC4 #C42A9D
triadic
#9E2AC4 #C49E2A #2AC49E
tetradic
#9E2AC4 #C4512A #50C42A #2A9DC4
square
#9E2AC4 #C4512A #50C42A #2A9DC4
split-complementary
#9E2AC4 #9DC42A #2AC451
monochromatic
#4D145F #751F92 #9E2AC4 #B851DA #CD84E5

Accessibility & contrast

On white

5.86
#9E2AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9E2AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2AC4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2AC4#FFFFFF#000000##FFFFFF
##9E2AC41.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#2668C1
Tritanopia (blue-blind)
#9B4E77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2ac4;
/* rgb */ color: rgb(158, 42, 196);
/* oklch */ color: oklch(53.6% 0.230 315.9);
Tailwind
colors: {
  custom: {
    50: '#bf72d7',
    500: '#9e2ac4',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ac4;
$custom-light: #bf72d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ac4",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 196
  },
  "hsl": {
    "h": 285.195,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53557,
    "c": 0.22963,
    "h": 315.9
  },
  "luminance": 0.12911
}

Semantic roles & 50–950 ramp

primary
#9E2AC4
secondary
#90CE7C
accent
#E84069
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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