#9E2AC3#9E2AC3

#9E2AC3 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.229 H 316.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9E2AC3
RGBrgb(158, 42, 195)
HSLhsl(285, 65%, 46%)
HSVhsv(285, 78%, 76%)
CMYKcmyk(19%, 78.5%, 0%, 23.5%)
CIE-LABlab(42.56, 66.99, -56.16)
CIE-LCHlch(42.56, 87.41, 320.03°)
OKLaboklab(53.49% 0.1651 -0.1584)
OKLCHoklch(53.49% 0.229 316.2)
XYZxyz(24.7773, 12.8662, 52.7974)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2AC3 #4FC32A
analogous
#522AC3 #9E2AC3 #C32A9C
triadic
#9E2AC3 #C39E2A #2AC39E
tetradic
#9E2AC3 #C3522A #4FC32A #2A9CC3
square
#9E2AC3 #C3522A #4FC32A #2A9CC3
split-complementary
#9E2AC3 #9CC32A #2AC352
monochromatic
#4C145E #751F91 #9E2AC3 #B851D9 #CD83E4

Accessibility & contrast

On white

5.88
#9E2AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9E2AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2AC3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2AC3#FFFFFF#000000##FFFFFF
##9E2AC31.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#2868C0
Tritanopia (blue-blind)
#9B4E77
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2ac3;
/* rgb */ color: rgb(158, 42, 195);
/* oklch */ color: oklch(53.5% 0.229 316.2);
Tailwind
colors: {
  custom: {
    50: '#bf72d6',
    500: '#9e2ac3',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ac3;
$custom-light: #bf72d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ac3",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 195
  },
  "hsl": {
    "h": 285.49,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.22878,
    "h": 316.2
  },
  "luminance": 0.12865
}

Semantic roles & 50–950 ramp

primary
#9E2AC3
secondary
#8FCD7B
accent
#E84069
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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