#9D34BA#9D34BA

#9D34BA is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.210 H 317.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9D34BA
RGBrgb(157, 52, 186)
HSLhsl(287, 56%, 47%)
HSVhsv(287, 72%, 73%)
CMYKcmyk(15.6%, 72%, 0%, 27.1%)
CIE-LABlab(43.02, 61.61, -50.17)
CIE-LCHlch(43.02, 79.45, 320.85°)
OKLaboklab(53.59% 0.1562 -0.1409)
OKLCHoklch(53.59% 0.21 317.9)
XYZxyz(23.9943, 13.1703, 47.7231)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D34BA #51BA34
analogous
#5A34BA #9D34BA #BA3494
triadic
#9D34BA #BA9D34 #34BA9D
tetradic
#9D34BA #BA5A34 #51BA34 #3494BA
square
#9D34BA #BA5A34 #51BA34 #3494BA
split-complementary
#9D34BA #94BA34 #34BA5A
monochromatic
#4C195A #75278A #9D34BA #B75AD1 #CC8ADE

Accessibility & contrast

On white

5.78
#9D34BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9D34BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D34BA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D34BA#FFFFFF#000000##FFFFFF
##9D34BA1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#3969B7
Tritanopia (blue-blind)
#9C4F74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d34ba;
/* rgb */ color: rgb(157, 52, 186);
/* oklch */ color: oklch(53.6% 0.210 317.9);
Tailwind
colors: {
  custom: {
    50: '#be75cf',
    500: '#9d34ba',
    950: '#000000',
  },
}
SCSS
$custom: #9d34ba;
$custom-light: #be75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d34ba",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 287.015,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53591,
    "c": 0.21032,
    "h": 317.9
  },
  "luminance": 0.13169
}

Semantic roles & 50–950 ramp

primary
#9D34BA
secondary
#91C881
accent
#E04869
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D34BA

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

Preview Lab → · Contrast checker → · Palette generator →

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