#9E34CF#9E34CF

#9E34CF is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.2% C 0.229 H 312.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9E34CF
RGBrgb(158, 52, 207)
HSLhsl(281, 62%, 51%)
HSVhsv(281, 75%, 81%)
CMYKcmyk(23.7%, 74.9%, 0%, 18.8%)
CIE-LABlab(44.56, 65.96, -59.88)
CIE-LCHlch(44.56, 89.09, 317.77°)
OKLaboklab(55.16% 0.1547 -0.1694)
OKLCHoklch(55.16% 0.229 312.4)
XYZxyz(26.5890, 14.2308, 60.3656)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E34CF #65CF34
analogous
#5034CF #9E34CF #CF34B3
triadic
#9E34CF #CF9E34 #34CF9E
tetradic
#9E34CF #CF5034 #65CF34 #34B3CF
square
#9E34CF #CF5034 #65CF34 #34B3CF
split-complementary
#9E34CF #B3CF34 #34CF50
monochromatic
#541A6E #7926A0 #9E34CF #B665DB #CD97E6

Accessibility & contrast

On white

5.46
#9E34CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9E34CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E34CF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E34CF#FFFFFF#000000##FFFFFF
##9E34CF1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#1E6BCC
Tritanopia (blue-blind)
#985880
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9e34cf;
/* rgb */ color: rgb(158, 52, 207);
/* oklch */ color: oklch(55.2% 0.229 312.4);
Tailwind
colors: {
  custom: {
    50: '#bf76df',
    500: '#9e34cf',
    950: '#000000',
  },
}
SCSS
$custom: #9e34cf;
$custom-light: #bf76df;
$custom-dark: #000000;
JSON
{
  "hex": "#9e34cf",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 207
  },
  "hsl": {
    "h": 281.032,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55159,
    "c": 0.22941,
    "h": 312.4
  },
  "luminance": 0.1423
}

Semantic roles & 50–950 ramp

primary
#9E34CF
secondary
#A3D28D
accent
#E54376
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E34CF

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

Preview Lab → · Contrast checker → · Palette generator →

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