#9E34CC#9E34CC

#9E34CC is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.227 H 313.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9E34CC
RGBrgb(158, 52, 204)
HSLhsl(282, 60%, 50%)
HSVhsv(282, 75%, 80%)
CMYKcmyk(22.5%, 74.5%, 0%, 20%)
CIE-LABlab(44.36, 65.36, -58.49)
CIE-LCHlch(44.36, 87.71, 318.18°)
OKLaboklab(54.95% 0.1552 -0.1653)
OKLCHoklch(54.95% 0.227 313.2)
XYZxyz(26.2257, 14.0855, 58.4523)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E34CC #62CC34
analogous
#5234CC #9E34CC #CC34AE
triadic
#9E34CC #CC9E34 #34CC9E
tetradic
#9E34CC #CC5234 #62CC34 #34AECC
square
#9E34CC #CC5234 #62CC34 #34AECC
split-complementary
#9E34CC #AECC34 #34CC52
monochromatic
#531B6B #78279C #9E34CC #B565D8 #CD96E5

Accessibility & contrast

On white

5.50
#9E34CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9E34CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E34CC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E34CC#FFFFFF#000000##FFFFFF
##9E34CC1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#246BC9
Tritanopia (blue-blind)
#99577E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9e34cc;
/* rgb */ color: rgb(158, 52, 204);
/* oklch */ color: oklch(54.9% 0.227 313.2);
Tailwind
colors: {
  custom: {
    50: '#bf76dc',
    500: '#9e34cc',
    950: '#000000',
  },
}
SCSS
$custom: #9e34cc;
$custom-light: #bf76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e34cc",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 281.842,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54948,
    "c": 0.22673,
    "h": 313.2
  },
  "luminance": 0.14085
}

Semantic roles & 50–950 ramp

primary
#9E34CC
secondary
#A0D08C
accent
#E34575
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E34CC

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

Preview Lab → · Contrast checker → · Palette generator →

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