#9E34BC#9E34BC

#9E34BC is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.212 H 317.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9E34BC
RGBrgb(158, 52, 188)
HSLhsl(287, 57%, 47%)
HSVhsv(287, 72%, 74%)
CMYKcmyk(16%, 72.3%, 0%, 26.3%)
CIE-LABlab(43.30, 62.21, -50.88)
CIE-LCHlch(43.30, 80.37, 320.72°)
OKLaboklab(53.86% 0.1572 -0.143)
OKLCHoklch(53.86% 0.212 317.7)
XYZxyz(24.4043, 13.3570, 48.8599)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E34BC #52BC34
analogous
#5A34BC #9E34BC #BC3496
triadic
#9E34BC #BC9E34 #34BC9E
tetradic
#9E34BC #BC5A34 #52BC34 #3496BC
square
#9E34BC #BC5A34 #52BC34 #3496BC
split-complementary
#9E34BC #96BC34 #34BC5A
monochromatic
#4D195C #76278C #9E34BC #B85BD2 #CD8BDF

Accessibility & contrast

On white

5.72
#9E34BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9E34BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E34BC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E34BC#FFFFFF#000000##FFFFFF
##9E34BC1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#9D5075
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e34bc;
/* rgb */ color: rgb(158, 52, 188);
/* oklch */ color: oklch(53.9% 0.212 317.7);
Tailwind
colors: {
  custom: {
    50: '#bf76d1',
    500: '#9e34bc',
    950: '#000000',
  },
}
SCSS
$custom: #9e34bc;
$custom-light: #bf76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e34bc",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 286.765,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5386,
    "c": 0.21248,
    "h": 317.7
  },
  "luminance": 0.13356
}

Semantic roles & 50–950 ramp

primary
#9E34BC
secondary
#92C983
accent
#E04869
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E34BC

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

Preview Lab → · Contrast checker → · Palette generator →

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