#9E2AC1#9E2AC1

#9E2AC1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.227 H 316.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9E2AC1
RGBrgb(158, 42, 193)
HSLhsl(286, 64%, 46%)
HSVhsv(286, 78%, 76%)
CMYKcmyk(18.1%, 78.2%, 0%, 24.3%)
CIE-LABlab(42.42, 66.61, -55.21)
CIE-LCHlch(42.42, 86.52, 320.34°)
OKLaboklab(53.35% 0.1654 -0.1556)
OKLCHoklch(53.35% 0.227 316.8)
XYZxyz(24.5527, 12.7763, 51.6145)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2AC1 #4DC12A
analogous
#532AC1 #9E2AC1 #C12A98
triadic
#9E2AC1 #C19E2A #2AC19E
tetradic
#9E2AC1 #C1532A #4DC12A #2A98C1
square
#9E2AC1 #C1532A #4DC12A #2A98C1
split-complementary
#9E2AC1 #98C12A #2AC153
monochromatic
#4C145C #751F8F #9E2AC1 #B94FD9 #CD82E4

Accessibility & contrast

On white

5.91
#9E2AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9E2AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2AC1
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2AC1#FFFFFF#000000##FFFFFF
##9E2AC11.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#2B67BE
Tritanopia (blue-blind)
#9C4D76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2ac1;
/* rgb */ color: rgb(158, 42, 193);
/* oklch */ color: oklch(53.3% 0.227 316.8);
Tailwind
colors: {
  custom: {
    50: '#bf71d4',
    500: '#9e2ac1',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ac1;
$custom-light: #bf71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ac1",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 286.093,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53347,
    "c": 0.2271,
    "h": 316.8
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

primary
#9E2AC1
secondary
#8DCD7A
accent
#E74167
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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