#9D34AE#9D34AE

#9D34AE is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.200 H 321.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9D34AE
RGBrgb(157, 52, 174)
HSLhsl(292, 54%, 44%)
HSVhsv(292, 70%, 68%)
CMYKcmyk(9.8%, 70.1%, 0%, 31.8%)
CIE-LABlab(42.28, 59.34, -44.28)
CIE-LCHlch(42.28, 74.04, 323.27°)
OKLaboklab(52.83% 0.1569 -0.1237)
OKLCHoklch(52.83% 0.2 321.8)
XYZxyz(22.7718, 12.6813, 41.2845)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D34AE #45AE34
analogous
#6034AE #9D34AE #AE3482
triadic
#9D34AE #AE9D34 #34AE9D
tetradic
#9D34AE #AE6034 #45AE34 #3482AE
square
#9D34AE #AE6034 #45AE34 #3482AE
split-complementary
#9D34AE #82AE34 #34AE60
monochromatic
#481850 #72267F #9D34AE #BB53CC #CE83DA

Accessibility & contrast

On white

5.94
#9D34AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9D34AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D34AE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D34AE#FFFFFF#000000##FFFFFF
##9D34AE1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035CB1
Deuteranopia (green-blind)
#4368AB
Tritanopia (blue-blind)
#9F4A6D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d34ae;
/* rgb */ color: rgb(157, 52, 174);
/* oklch */ color: oklch(52.8% 0.200 321.8);
Tailwind
colors: {
  custom: {
    50: '#bd75c7',
    500: '#9d34ae',
    950: '#000000',
  },
}
SCSS
$custom: #9d34ae;
$custom-light: #bd75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d34ae",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 291.639,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52826,
    "c": 0.19979,
    "h": 321.8
  },
  "luminance": 0.1268
}

Semantic roles & 50–950 ramp

primary
#9D34AE
secondary
#85C37B
accent
#DD4A5F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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