#9E34C3#9E34C3

#9E34C3 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.219 H 315.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9E34C3
RGBrgb(158, 52, 195)
HSLhsl(284, 58%, 48%)
HSVhsv(284, 73%, 76%)
CMYKcmyk(19%, 73.3%, 0%, 23.5%)
CIE-LABlab(43.75, 63.57, -54.24)
CIE-LCHlch(43.75, 83.57, 319.53°)
OKLaboklab(54.33% 0.1564 -0.1528)
OKLCHoklch(54.33% 0.219 315.7)
XYZxyz(25.1773, 13.6662, 52.9308)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E34C3 #59C334
analogous
#5734C3 #9E34C3 #C334A0
triadic
#9E34C3 #C39E34 #34C39E
tetradic
#9E34C3 #C35734 #59C334 #34A0C3
square
#9E34C3 #C35734 #59C334 #34A0C3
split-complementary
#9E34C3 #A0C334 #34C357
monochromatic
#501A62 #772793 #9E34C3 #B660D5 #CC90E1

Accessibility & contrast

On white

5.63
#9E34C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9E34C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E34C3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E34C3#FFFFFF#000000##FFFFFF
##9E34C31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#316AC0
Tritanopia (blue-blind)
#9B5379
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e34c3;
/* rgb */ color: rgb(158, 52, 195);
/* oklch */ color: oklch(54.3% 0.219 315.7);
Tailwind
colors: {
  custom: {
    50: '#bf76d6',
    500: '#9e34c3',
    950: '#000000',
  },
}
SCSS
$custom: #9e34c3;
$custom-light: #bf76d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e34c3",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 284.476,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54327,
    "c": 0.21869,
    "h": 315.7
  },
  "luminance": 0.13665
}

Semantic roles & 50–950 ramp

primary
#9E34C3
secondary
#99CC87
accent
#E1476F
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E34C3

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

Preview Lab → · Contrast checker → · Palette generator →

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