#9E34BA#9E34BA

#9E34BA is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.211 H 318.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9E34BA
RGBrgb(158, 52, 186)
HSLhsl(287, 56%, 47%)
HSVhsv(287, 72%, 73%)
CMYKcmyk(15.1%, 72%, 0%, 27.1%)
CIE-LABlab(43.17, 61.82, -49.92)
CIE-LCHlch(43.17, 79.46, 321.08°)
OKLaboklab(53.73% 0.1574 -0.1401)
OKLCHoklch(53.73% 0.211 318.3)
XYZxyz(24.1902, 13.2714, 47.7323)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E34BA #50BA34
analogous
#5B34BA #9E34BA #BA3493
triadic
#9E34BA #BA9E34 #34BA9E
tetradic
#9E34BA #BA5B34 #50BA34 #3493BA
square
#9E34BA #BA5B34 #50BA34 #3493BA
split-complementary
#9E34BA #93BA34 #34BA5B
monochromatic
#4D195A #75278A #9E34BA #B85AD1 #CD8ADE

Accessibility & contrast

On white

5.75
#9E34BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9E34BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E34BA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E34BA#FFFFFF#000000##FFFFFF
##9E34BA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#3B69B7
Tritanopia (blue-blind)
#9D4F74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e34ba;
/* rgb */ color: rgb(158, 52, 186);
/* oklch */ color: oklch(53.7% 0.211 318.3);
Tailwind
colors: {
  custom: {
    50: '#bf75cf',
    500: '#9e34ba',
    950: '#000000',
  },
}
SCSS
$custom: #9e34ba;
$custom-light: #bf75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e34ba",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 287.463,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53729,
    "c": 0.21072,
    "h": 318.3
  },
  "luminance": 0.1327
}

Semantic roles & 50–950 ramp

primary
#9E34BA
secondary
#90C881
accent
#E04868
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E34BA

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

Preview Lab → · Contrast checker → · Palette generator →

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