#9E34AF#9E34AF

#9E34AF is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.0% C 0.201 H 321.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9E34AF
RGBrgb(158, 52, 175)
HSLhsl(292, 54%, 45%)
HSVhsv(292, 70%, 69%)
CMYKcmyk(9.7%, 70.3%, 0%, 31.4%)
CIE-LABlab(42.49, 59.75, -44.52)
CIE-LCHlch(42.49, 74.51, 323.31°)
OKLaboklab(53.03% 0.1581 -0.1243)
OKLCHoklch(53.03% 0.201 321.8)
XYZxyz(23.0656, 12.8215, 41.8090)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E34AF #45AF34
analogous
#6034AF #9E34AF #AF3483
triadic
#9E34AF #AF9E34 #34AF9E
tetradic
#9E34AF #AF6034 #45AF34 #3483AF
square
#9E34AF #AF6034 #45AF34 #3483AF
split-complementary
#9E34AF #83AF34 #34AF60
monochromatic
#491851 #732680 #9E34AF #BC54CC #CE83DA

Accessibility & contrast

On white

5.89
#9E34AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9E34AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E34AF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E34AF#FFFFFF#000000##FFFFFF
##9E34AF1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015DB3
Deuteranopia (green-blind)
#4468AC
Tritanopia (blue-blind)
#A04A6E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e34af;
/* rgb */ color: rgb(158, 52, 175);
/* oklch */ color: oklch(53.0% 0.201 321.8);
Tailwind
colors: {
  custom: {
    50: '#be75c7',
    500: '#9e34af',
    950: '#000000',
  },
}
SCSS
$custom: #9e34af;
$custom-light: #be75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e34af",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 291.707,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53029,
    "c": 0.2011,
    "h": 321.8
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

primary
#9E34AF
secondary
#85C47B
accent
#DE4A5F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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