#9D34B4#9D34B4

#9D34B4 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.205 H 319.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9D34B4
RGBrgb(157, 52, 180)
HSLhsl(289, 55%, 45%)
HSVhsv(289, 71%, 71%)
CMYKcmyk(12.8%, 71.1%, 0%, 29.4%)
CIE-LABlab(42.64, 60.47, -47.24)
CIE-LCHlch(42.64, 76.73, 322.00°)
OKLaboklab(53.2% 0.1566 -0.1323)
OKLCHoklch(53.2% 0.205 319.8)
XYZxyz(23.3698, 12.9205, 44.4341)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D34B4 #4BB434
analogous
#5D34B4 #9D34B4 #B4348B
triadic
#9D34B4 #B49D34 #34B49D
tetradic
#9D34B4 #B45D34 #4BB434 #348BB4
square
#9D34B4 #B45D34 #4BB434 #348BB4
split-complementary
#9D34B4 #8BB434 #34B45D
monochromatic
#4A1955 #742685 #9D34B4 #B957CE #CD86DC

Accessibility & contrast

On white

5.86
#9D34B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9D34B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D34B4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D34B4#FFFFFF#000000##FFFFFF
##9D34B41.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#3F68B1
Tritanopia (blue-blind)
#9D4C71
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d34b4;
/* rgb */ color: rgb(157, 52, 180);
/* oklch */ color: oklch(53.2% 0.205 319.8);
Tailwind
colors: {
  custom: {
    50: '#be75cb',
    500: '#9d34b4',
    950: '#000000',
  },
}
SCSS
$custom: #9d34b4;
$custom-light: #be75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d34b4",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 289.219,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53203,
    "c": 0.20503,
    "h": 319.8
  },
  "luminance": 0.12919
}

Semantic roles & 50–950 ramp

primary
#9D34B4
secondary
#8BC67E
accent
#DF4964
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9D34B4

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

Preview Lab → · Contrast checker → · Palette generator →

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