#9E3FAC#9E3FAC

#9E3FAC is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.0% C 0.184 H 322.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9E3FAC
RGBrgb(158, 63, 172)
HSLhsl(292, 46%, 46%)
HSVhsv(292, 63%, 67%)
CMYKcmyk(8.1%, 63.4%, 0%, 32.5%)
CIE-LABlab(43.95, 54.63, -40.42)
CIE-LCHlch(43.95, 67.95, 323.50°)
OKLaboklab(54.02% 0.1457 -0.1125)
OKLCHoklch(54.02% 0.184 322.3)
XYZxyz(23.3237, 13.8039, 40.4576)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3FAC #4DAC3F
analogous
#673FAC #9E3FAC #AC3F83
triadic
#9E3FAC #AC9E3F #3FAC9E
tetradic
#9E3FAC #AC673F #4DAC3F #3F83AC
square
#9E3FAC #AC673F #4DAC3F #3F83AC
split-complementary
#9E3FAC #83AC3F #3FAC67
monochromatic
#4C1E52 #752F7F #9E3FAC #B963C6 #CD8FD6

Accessibility & contrast

On white

5.58
#9E3FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9E3FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3FAC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3FAC#FFFFFF#000000##FFFFFF
##9E3FAC1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761AF
Deuteranopia (green-blind)
#4D6CA9
Tritanopia (blue-blind)
#A05070
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9e3fac;
/* rgb */ color: rgb(158, 63, 172);
/* oklch */ color: oklch(54.0% 0.184 322.3);
Tailwind
colors: {
  custom: {
    50: '#be7bc5',
    500: '#9e3fac',
    950: '#000000',
  },
}
SCSS
$custom: #9e3fac;
$custom-light: #be7bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3fac",
  "rgb": {
    "r": 158,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 292.294,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.18407,
    "h": 322.3
  },
  "luminance": 0.13803
}

Semantic roles & 50–950 ramp

primary
#9E3FAC
secondary
#8DC186
accent
#D65263
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9E3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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