#9E34CD#9E34CD

#9E34CD is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.228 H 312.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9E34CD
RGBrgb(158, 52, 205)
HSLhsl(282, 60%, 50%)
HSVhsv(282, 75%, 80%)
CMYKcmyk(22.9%, 74.6%, 0%, 19.6%)
CIE-LABlab(44.42, 65.56, -58.95)
CIE-LCHlch(44.42, 88.17, 318.04°)
OKLaboklab(55.02% 0.155 -0.1666)
OKLCHoklch(55.02% 0.228 312.9)
XYZxyz(26.3460, 14.1337, 59.0860)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E34CD #63CD34
analogous
#5234CD #9E34CD #CD34AF
triadic
#9E34CD #CD9E34 #34CD9E
tetradic
#9E34CD #CD5234 #63CD34 #34AFCD
square
#9E34CD #CD5234 #63CD34 #34AFCD
split-complementary
#9E34CD #AFCD34 #34CD52
monochromatic
#531B6C #79279D #9E34CD #B565D9 #CD96E5

Accessibility & contrast

On white

5.49
#9E34CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9E34CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E34CD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E34CD#FFFFFF#000000##FFFFFF
##9E34CD1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#226BCA
Tritanopia (blue-blind)
#99577F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9e34cd;
/* rgb */ color: rgb(158, 52, 205);
/* oklch */ color: oklch(55.0% 0.228 312.9);
Tailwind
colors: {
  custom: {
    50: '#bf76dd',
    500: '#9e34cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e34cd;
$custom-light: #bf76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e34cd",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 205
  },
  "hsl": {
    "h": 281.569,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55018,
    "c": 0.22762,
    "h": 312.9
  },
  "luminance": 0.14133
}

Semantic roles & 50–950 ramp

primary
#9E34CD
secondary
#A1D18C
accent
#E44475
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E34CD

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

Preview Lab → · Contrast checker → · Palette generator →

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