#9E34BB#9E34BB

#9E34BB is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.212 H 318.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9E34BB
RGBrgb(158, 52, 187)
HSLhsl(287, 56%, 47%)
HSVhsv(287, 72%, 73%)
CMYKcmyk(15.5%, 72.2%, 0%, 26.7%)
CIE-LABlab(43.23, 62.01, -50.40)
CIE-LCHlch(43.23, 79.91, 320.90°)
OKLaboklab(53.79% 0.1573 -0.1416)
OKLCHoklch(53.79% 0.212 318)
XYZxyz(24.2969, 13.3140, 48.2941)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E34BB #51BB34
analogous
#5B34BB #9E34BB #BB3495
triadic
#9E34BB #BB9E34 #34BB9E
tetradic
#9E34BB #BB5B34 #51BB34 #3495BB
square
#9E34BB #BB5B34 #51BB34 #3495BB
split-complementary
#9E34BB #95BB34 #34BB5B
monochromatic
#4D195B #76278B #9E34BB #B85BD1 #CD8BDF

Accessibility & contrast

On white

5.73
#9E34BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9E34BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E34BB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E34BB#FFFFFF#000000##FFFFFF
##9E34BB1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#3A69B8
Tritanopia (blue-blind)
#9D4F75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e34bb;
/* rgb */ color: rgb(158, 52, 187);
/* oklch */ color: oklch(53.8% 0.212 318.0);
Tailwind
colors: {
  custom: {
    50: '#bf76d0',
    500: '#9e34bb',
    950: '#000000',
  },
}
SCSS
$custom: #9e34bb;
$custom-light: #bf76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e34bb",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 287.111,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53794,
    "c": 0.2116,
    "h": 318
  },
  "luminance": 0.13313
}

Semantic roles & 50–950 ramp

primary
#9E34BB
secondary
#91C982
accent
#E04869
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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