#9D34C5#9D34C5

#9D34C5 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.220 H 314.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9D34C5
RGBrgb(157, 52, 197)
HSLhsl(283, 58%, 49%)
HSVhsv(283, 74%, 77%)
CMYKcmyk(20.3%, 73.6%, 0%, 22.7%)
CIE-LABlab(43.74, 63.77, -55.43)
CIE-LCHlch(43.74, 84.49, 319.00°)
OKLaboklab(54.33% 0.1549 -0.1563)
OKLCHoklch(54.33% 0.22 314.7)
XYZxyz(25.2090, 13.6562, 54.1205)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D34C5 #5CC534
analogous
#5534C5 #9D34C5 #C534A5
triadic
#9D34C5 #C59D34 #34C59D
tetradic
#9D34C5 #C55534 #5CC534 #34A5C5
square
#9D34C5 #C55534 #5CC534 #34A5C5
split-complementary
#9D34C5 #A5C534 #34C555
monochromatic
#501A64 #762795 #9D34C5 #B561D5 #CC91E2

Accessibility & contrast

On white

5.63
#9D34C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9D34C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D34C5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D34C5#FFFFFF#000000##FFFFFF
##9D34C51.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#2D6AC2
Tritanopia (blue-blind)
#9A547A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d34c5;
/* rgb */ color: rgb(157, 52, 197);
/* oklch */ color: oklch(54.3% 0.220 314.7);
Tailwind
colors: {
  custom: {
    50: '#be76d7',
    500: '#9d34c5',
    950: '#000000',
  },
}
SCSS
$custom: #9d34c5;
$custom-light: #be76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d34c5",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 283.448,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54329,
    "c": 0.22012,
    "h": 314.7
  },
  "luminance": 0.13655
}

Semantic roles & 50–950 ramp

primary
#9D34C5
secondary
#9BCD88
accent
#E14671
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D34C5

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

Preview Lab → · Contrast checker → · Palette generator →

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