#9E34B8#9E34B8

#9E34B8 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.209 H 318.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9E34B8
RGBrgb(158, 52, 184)
HSLhsl(288, 56%, 46%)
HSVhsv(288, 72%, 72%)
CMYKcmyk(14.1%, 71.7%, 0%, 27.8%)
CIE-LABlab(43.04, 61.44, -48.94)
CIE-LCHlch(43.04, 78.55, 321.46°)
OKLaboklab(53.6% 0.1575 -0.1373)
OKLCHoklch(53.6% 0.209 318.9)
XYZxyz(23.9791, 13.1869, 46.6204)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E34B8 #4EB834
analogous
#5C34B8 #9E34B8 #B83490
triadic
#9E34B8 #B89E34 #34B89E
tetradic
#9E34B8 #B85C34 #4EB834 #3490B8
square
#9E34B8 #B85C34 #4EB834 #3490B8
split-complementary
#9E34B8 #90B834 #34B85C
monochromatic
#4C1959 #752788 #9E34B8 #B959D0 #CD89DE

Accessibility & contrast

On white

5.77
#9E34B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9E34B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E34B8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E34B8#FFFFFF#000000##FFFFFF
##9E34B81.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#3C69B5
Tritanopia (blue-blind)
#9E4E73
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e34b8;
/* rgb */ color: rgb(158, 52, 184);
/* oklch */ color: oklch(53.6% 0.209 318.9);
Tailwind
colors: {
  custom: {
    50: '#be75ce',
    500: '#9e34b8',
    950: '#000000',
  },
}
SCSS
$custom: #9e34b8;
$custom-light: #be75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9e34b8",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 288.182,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53599,
    "c": 0.20895,
    "h": 318.9
  },
  "luminance": 0.13186
}

Semantic roles & 50–950 ramp

primary
#9E34B8
secondary
#8EC880
accent
#DF4966
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E34B8

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

Preview Lab → · Contrast checker → · Palette generator →

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