#9E2FAC#9E2FAC

#9E2FAC is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.204 H 323.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9E2FAC
RGBrgb(158, 47, 172)
HSLhsl(293, 57%, 43%)
HSVhsv(293, 73%, 67%)
CMYKcmyk(8.1%, 72.7%, 0%, 32.5%)
CIE-LABlab(41.66, 61.05, -44.07)
CIE-LCHlch(41.66, 75.29, 324.18°)
OKLaboklab(52.38% 0.1632 -0.123)
OKLCHoklch(52.38% 0.204 323)
XYZxyz(22.5627, 12.2820, 40.2040)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2FAC #3DAC2F
analogous
#5F2FAC #9E2FAC #AC2F7B
triadic
#9E2FAC #AC9E2F #2FAC9E
tetradic
#9E2FAC #AC5F2F #3DAC2F #2F7BAC
square
#9E2FAC #AC5F2F #3DAC2F #2F7BAC
split-complementary
#9E2FAC #7BAC2F #2FAC5F
monochromatic
#46154C #72227C #9E2FAC #BF4BCE #D07BDB

Accessibility & contrast

On white

6.08
#9E2FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9E2FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2FAC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2FAC#FFFFFF#000000##FFFFFF
##9E2FAC1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#4367A9
Tritanopia (blue-blind)
#A0466B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2fac;
/* rgb */ color: rgb(158, 47, 172);
/* oklch */ color: oklch(52.4% 0.204 323.0);
Tailwind
colors: {
  custom: {
    50: '#be73c5',
    500: '#9e2fac',
    950: '#000000',
  },
}
SCSS
$custom: #9e2fac;
$custom-light: #be73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2fac",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 293.28,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52377,
    "c": 0.20436,
    "h": 323
  },
  "luminance": 0.12281
}

Semantic roles & 50–950 ramp

primary
#9E2FAC
secondary
#7DC374
accent
#E04759
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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