#9E34BD#9E34BD

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

Color values

HEX#9E34BD
RGBrgb(158, 52, 189)
HSLhsl(286, 57%, 47%)
HSVhsv(286, 72%, 74%)
CMYKcmyk(16.4%, 72.5%, 0%, 25.9%)
CIE-LABlab(43.36, 62.40, -51.37)
CIE-LCHlch(43.36, 80.82, 320.54°)
OKLaboklab(53.93% 0.1571 -0.1444)
OKLCHoklch(53.93% 0.213 317.4)
XYZxyz(24.5125, 13.4003, 49.4296)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E34BD #53BD34
analogous
#5934BD #9E34BD #BD3498
triadic
#9E34BD #BD9E34 #34BD9E
tetradic
#9E34BD #BD5934 #53BD34 #3498BD
square
#9E34BD #BD5934 #53BD34 #3498BD
split-complementary
#9E34BD #98BD34 #34BD59
monochromatic
#4E1A5D #76278D #9E34BD #B75CD2 #CD8CDF

Accessibility & contrast

On white

5.71
#9E34BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9E34BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E34BD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E34BD#FFFFFF#000000##FFFFFF
##9E34BD1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#386ABA
Tritanopia (blue-blind)
#9D5076
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e34bd;
/* rgb */ color: rgb(158, 52, 189);
/* oklch */ color: oklch(53.9% 0.213 317.4);
Tailwind
colors: {
  custom: {
    50: '#bf76d2',
    500: '#9e34bd',
    950: '#000000',
  },
}
SCSS
$custom: #9e34bd;
$custom-light: #bf76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e34bd",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 286.423,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53926,
    "c": 0.21337,
    "h": 317.4
  },
  "luminance": 0.13399
}

Semantic roles & 50–950 ramp

primary
#9E34BD
secondary
#93CA83
accent
#E0486A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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