#9E30AC#9E30AC

#9E30AC is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.203 H 323.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9E30AC
RGBrgb(158, 48, 172)
HSLhsl(293, 56%, 43%)
HSVhsv(293, 72%, 67%)
CMYKcmyk(8.1%, 72.1%, 0%, 32.5%)
CIE-LABlab(41.79, 60.69, -43.87)
CIE-LCHlch(41.79, 74.89, 324.14°)
OKLaboklab(52.47% 0.1622 -0.1224)
OKLCHoklch(52.47% 0.203 323)
XYZxyz(22.6032, 12.3629, 40.2174)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E30AC #3EAC30
analogous
#6030AC #9E30AC #AC307C
triadic
#9E30AC #AC9E30 #30AC9E
tetradic
#9E30AC #AC6030 #3EAC30 #307CAC
square
#9E30AC #AC6030 #3EAC30 #307CAC
split-complementary
#9E30AC #7CAC30 #30AC60
monochromatic
#46154C #72237C #9E30AC #BF4CCD #D07CDA

Accessibility & contrast

On white

6.05
#9E30AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9E30AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E30AC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E30AC#FFFFFF#000000##FFFFFF
##9E30AC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e30ac;
/* rgb */ color: rgb(158, 48, 172);
/* oklch */ color: oklch(52.5% 0.203 323.0);
Tailwind
colors: {
  custom: {
    50: '#be73c5',
    500: '#9e30ac',
    950: '#000000',
  },
}
SCSS
$custom: #9e30ac;
$custom-light: #be73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e30ac",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 293.226,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.20323,
    "h": 323
  },
  "luminance": 0.12362
}

Semantic roles & 50–950 ramp

primary
#9E30AC
secondary
#7EC375
accent
#E04859
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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