#9E34D3#9E34D3

#9E34D3 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.233 H 311.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9E34D3
RGBrgb(158, 52, 211)
HSLhsl(280, 64%, 52%)
HSVhsv(280, 75%, 83%)
CMYKcmyk(25.1%, 75.4%, 0%, 17.3%)
CIE-LABlab(44.84, 66.78, -61.73)
CIE-LCHlch(44.84, 90.94, 317.25°)
OKLaboklab(55.45% 0.154 -0.1748)
OKLCHoklch(55.45% 0.233 311.4)
XYZxyz(27.0842, 14.4289, 62.9737)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E34D3 #69D334
analogous
#4F34D3 #9E34D3 #D334B9
triadic
#9E34D3 #D39E34 #34D39E
tetradic
#9E34D3 #D34F34 #69D334 #34B9D3
square
#9E34D3 #D34F34 #69D334 #34B9D3
split-complementary
#9E34D3 #B9D334 #34D34F
monochromatic
#551974 #7B24A6 #9E34D3 #B666DE #CE99E9

Accessibility & contrast

On white

5.40
#9E34D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9E34D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E34D3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E34D3#FFFFFF#000000##FFFFFF
##9E34D31.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#136CD0
Tritanopia (blue-blind)
#975A82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9e34d3;
/* rgb */ color: rgb(158, 52, 211);
/* oklch */ color: oklch(55.4% 0.233 311.4);
Tailwind
colors: {
  custom: {
    50: '#c076e1',
    500: '#9e34d3',
    950: '#000000',
  },
}
SCSS
$custom: #9e34d3;
$custom-light: #c076e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e34d3",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 211
  },
  "hsl": {
    "h": 280,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55445,
    "c": 0.233,
    "h": 311.4
  },
  "luminance": 0.14428
}

Semantic roles & 50–950 ramp

primary
#9E34D3
secondary
#A6D48E
accent
#E74078
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E34D3

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

Preview Lab → · Contrast checker → · Palette generator →

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