#9E34CA#9E34CA

#9E34CA is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.225 H 313.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9E34CA
RGBrgb(158, 52, 202)
HSLhsl(282, 59%, 50%)
HSVhsv(282, 74%, 79%)
CMYKcmyk(21.8%, 74.3%, 0%, 20.8%)
CIE-LABlab(44.22, 64.96, -57.55)
CIE-LCHlch(44.22, 86.78, 318.46°)
OKLaboklab(54.81% 0.1555 -0.1625)
OKLCHoklch(54.81% 0.225 313.7)
XYZxyz(25.9874, 13.9902, 57.1971)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E34CA #60CA34
analogous
#5334CA #9E34CA #CA34AB
triadic
#9E34CA #CA9E34 #34CA9E
tetradic
#9E34CA #CA5334 #60CA34 #34ABCA
square
#9E34CA #CA5334 #60CA34 #34ABCA
split-complementary
#9E34CA #ABCA34 #34CA53
monochromatic
#521B69 #782799 #9E34CA #B564D7 #CD95E4

Accessibility & contrast

On white

5.53
#9E34CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9E34CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E34CA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E34CA#FFFFFF#000000##FFFFFF
##9E34CA1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#276BC7
Tritanopia (blue-blind)
#9A567D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9e34ca;
/* rgb */ color: rgb(158, 52, 202);
/* oklch */ color: oklch(54.8% 0.225 313.7);
Tailwind
colors: {
  custom: {
    50: '#bf76db',
    500: '#9e34ca',
    950: '#000000',
  },
}
SCSS
$custom: #9e34ca;
$custom-light: #bf76db;
$custom-dark: #000000;
JSON
{
  "hex": "#9e34ca",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 282.4,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.22494,
    "h": 313.7
  },
  "luminance": 0.13989
}

Semantic roles & 50–950 ramp

primary
#9E34CA
secondary
#9FCF8B
accent
#E24674
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E34CA

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

Preview Lab → · Contrast checker → · Palette generator →

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