#9E34AD#9E34AD

#9E34AD is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.9% C 0.199 H 322.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9E34AD
RGBrgb(158, 52, 173)
HSLhsl(293, 54%, 44%)
HSVhsv(293, 70%, 68%)
CMYKcmyk(8.7%, 69.9%, 0%, 32.2%)
CIE-LABlab(42.37, 59.38, -43.52)
CIE-LCHlch(42.37, 73.62, 323.76°)
OKLaboklab(52.91% 0.1581 -0.1214)
OKLCHoklch(52.91% 0.199 322.5)
XYZxyz(22.8706, 12.7435, 40.7821)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E34AD #43AD34
analogous
#6234AD #9E34AD #AD3480
triadic
#9E34AD #AD9E34 #34AD9E
tetradic
#9E34AD #AD6234 #43AD34 #3480AD
square
#9E34AD #AD6234 #43AD34 #3480AD
split-complementary
#9E34AD #80AD34 #34AD62
monochromatic
#48184F #73267E #9E34AD #BC53CB #CF82D9

Accessibility & contrast

On white

5.92
#9E34AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9E34AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E34AD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E34AD#FFFFFF#000000##FFFFFF
##9E34AD1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095CB0
Deuteranopia (green-blind)
#4568AA
Tritanopia (blue-blind)
#A0496D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e34ad;
/* rgb */ color: rgb(158, 52, 173);
/* oklch */ color: oklch(52.9% 0.199 322.5);
Tailwind
colors: {
  custom: {
    50: '#be75c6',
    500: '#9e34ad',
    950: '#000000',
  },
}
SCSS
$custom: #9e34ad;
$custom-light: #be75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e34ad",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 292.562,
    "s": 53.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52906,
    "c": 0.19937,
    "h": 322.5
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#9E34AD
secondary
#83C37A
accent
#DD4B5D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E34AD

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

Preview Lab → · Contrast checker → · Palette generator →

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