#9D34AD#9D34AD

#9D34AD is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.8% C 0.199 H 322.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9D34AD
RGBrgb(157, 52, 173)
HSLhsl(292, 54%, 44%)
HSVhsv(292, 70%, 68%)
CMYKcmyk(9.2%, 69.9%, 0%, 32.2%)
CIE-LABlab(42.22, 59.16, -43.78)
CIE-LCHlch(42.22, 73.59, 323.50°)
OKLaboklab(52.76% 0.157 -0.1222)
OKLCHoklch(52.76% 0.199 322.1)
XYZxyz(22.6747, 12.6425, 40.7730)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D34AD #44AD34
analogous
#6134AD #9D34AD #AD3481
triadic
#9D34AD #AD9D34 #34AD9D
tetradic
#9D34AD #AD6134 #44AD34 #3481AD
square
#9D34AD #AD6134 #44AD34 #3481AD
split-complementary
#9D34AD #81AD34 #34AD61
monochromatic
#48184F #72267E #9D34AD #BB53CB #CE82D9

Accessibility & contrast

On white

5.95
#9D34AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9D34AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D34AD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D34AD#FFFFFF#000000##FFFFFF
##9D34AD1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065CB0
Deuteranopia (green-blind)
#4468AA
Tritanopia (blue-blind)
#9F496D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d34ad;
/* rgb */ color: rgb(157, 52, 173);
/* oklch */ color: oklch(52.8% 0.199 322.1);
Tailwind
colors: {
  custom: {
    50: '#bd75c6',
    500: '#9d34ad',
    950: '#000000',
  },
}
SCSS
$custom: #9d34ad;
$custom-light: #bd75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d34ad",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 292.066,
    "s": 53.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52764,
    "c": 0.19892,
    "h": 322.1
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

primary
#9D34AD
secondary
#84C37A
accent
#DD4B5E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D34AD

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

Preview Lab → · Contrast checker → · Palette generator →

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