#9D34AA#9D34AA

#9D34AA is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.196 H 323.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9D34AA
RGBrgb(157, 52, 170)
HSLhsl(293, 53%, 44%)
HSVhsv(293, 69%, 67%)
CMYKcmyk(7.6%, 69.4%, 0%, 33.3%)
CIE-LABlab(42.04, 58.60, -42.28)
CIE-LCHlch(42.04, 72.26, 324.19°)
OKLaboklab(52.58% 0.157 -0.1178)
OKLCHoklch(52.58% 0.196 323.1)
XYZxyz(22.3876, 12.5276, 39.2613)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D34AA #41AA34
analogous
#6234AA #9D34AA #AA347C
triadic
#9D34AA #AA9D34 #34AA9D
tetradic
#9D34AA #AA6234 #41AA34 #347CAA
square
#9D34AA #AA6234 #41AA34 #347CAA
split-complementary
#9D34AA #7CAA34 #34AA62
monochromatic
#46174C #72267B #9D34AA #BD51CA #CF80D8

Accessibility & contrast

On white

5.99
#9D34AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9D34AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D34AA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D34AA#FFFFFF#000000##FFFFFF
##9D34AA1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAD
Deuteranopia (green-blind)
#4667A7
Tritanopia (blue-blind)
#9F486B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d34aa;
/* rgb */ color: rgb(157, 52, 170);
/* oklch */ color: oklch(52.6% 0.196 323.1);
Tailwind
colors: {
  custom: {
    50: '#bd75c4',
    500: '#9d34aa',
    950: '#000000',
  },
}
SCSS
$custom: #9d34aa;
$custom-light: #bd75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d34aa",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 293.39,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52581,
    "c": 0.19633,
    "h": 323.1
  },
  "luminance": 0.12526
}

Semantic roles & 50–950 ramp

primary
#9D34AA
secondary
#80C178
accent
#DD4B5B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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