#9E34B3#9E34B3

#9E34B3 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.205 H 320.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9E34B3
RGBrgb(158, 52, 179)
HSLhsl(290, 55%, 45%)
HSVhsv(290, 71%, 70%)
CMYKcmyk(11.7%, 70.9%, 0%, 29.8%)
CIE-LABlab(42.73, 60.49, -46.49)
CIE-LCHlch(42.73, 76.30, 322.45°)
OKLaboklab(53.28% 0.1579 -0.1301)
OKLCHoklch(53.28% 0.205 320.5)
XYZxyz(23.4643, 12.9810, 43.9087)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E34B3 #49B334
analogous
#5F34B3 #9E34B3 #B33488
triadic
#9E34B3 #B39E34 #34B39E
tetradic
#9E34B3 #B35F34 #49B334 #3488B3
square
#9E34B3 #B35F34 #49B334 #3488B3
split-complementary
#9E34B3 #88B334 #34B35F
monochromatic
#4A1854 #742684 #9E34B3 #BA56CE #CE86DC

Accessibility & contrast

On white

5.84
#9E34B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9E34B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E34B3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E34B3#FFFFFF#000000##FFFFFF
##9E34B31.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#4169B0
Tritanopia (blue-blind)
#9F4C70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e34b3;
/* rgb */ color: rgb(158, 52, 179);
/* oklch */ color: oklch(53.3% 0.205 320.5);
Tailwind
colors: {
  custom: {
    50: '#be75ca',
    500: '#9e34b3',
    950: '#000000',
  },
}
SCSS
$custom: #9e34b3;
$custom-light: #be75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9e34b3",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 290.079,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5328,
    "c": 0.20458,
    "h": 320.5
  },
  "luminance": 0.1298
}

Semantic roles & 50–950 ramp

primary
#9E34B3
secondary
#89C57D
accent
#DE4962
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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