#9E34D1#9E34D1

#9E34D1 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.3% C 0.231 H 311.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9E34D1
RGBrgb(158, 52, 209)
HSLhsl(281, 63%, 51%)
HSVhsv(281, 75%, 82%)
CMYKcmyk(24.4%, 75.1%, 0%, 18%)
CIE-LABlab(44.70, 66.37, -60.81)
CIE-LCHlch(44.70, 90.01, 317.50°)
OKLaboklab(55.3% 0.1544 -0.1721)
OKLCHoklch(55.3% 0.231 311.9)
XYZxyz(26.8350, 14.3293, 61.6614)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E34D1 #67D134
analogous
#4F34D1 #9E34D1 #D134B5
triadic
#9E34D1 #D19E34 #34D19E
tetradic
#9E34D1 #D14F34 #67D134 #34B5D1
square
#9E34D1 #D14F34 #67D134 #34B5D1
split-complementary
#9E34D1 #B5D134 #34D14F
monochromatic
#551A71 #7A25A3 #9E34D1 #B666DC #CE98E8

Accessibility & contrast

On white

5.43
#9E34D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9E34D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E34D1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E34D1#FFFFFF#000000##FFFFFF
##9E34D11.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#196CCE
Tritanopia (blue-blind)
#985981
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9e34d1;
/* rgb */ color: rgb(158, 52, 209);
/* oklch */ color: oklch(55.3% 0.231 311.9);
Tailwind
colors: {
  custom: {
    50: '#c076e0',
    500: '#9e34d1',
    950: '#000000',
  },
}
SCSS
$custom: #9e34d1;
$custom-light: #c076e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e34d1",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 280.51,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55302,
    "c": 0.23121,
    "h": 311.9
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#9E34D1
secondary
#A4D38E
accent
#E64277
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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