#9D34CA#9D34CA

#9D34CA is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.225 H 313.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9D34CA
RGBrgb(157, 52, 202)
HSLhsl(282, 59%, 50%)
HSVhsv(282, 74%, 79%)
CMYKcmyk(22.3%, 74.3%, 0%, 20.8%)
CIE-LABlab(44.07, 64.77, -57.79)
CIE-LCHlch(44.07, 86.80, 318.26°)
OKLaboklab(54.68% 0.1542 -0.1633)
OKLCHoklch(54.68% 0.225 313.4)
XYZxyz(25.7914, 13.8892, 57.1879)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D34CA #61CA34
analogous
#5234CA #9D34CA #CA34AC
triadic
#9D34CA #CA9D34 #34CA9D
tetradic
#9D34CA #CA5234 #61CA34 #34ACCA
square
#9D34CA #CA5234 #61CA34 #34ACCA
split-complementary
#9D34CA #ACCA34 #34CA52
monochromatic
#511B69 #772799 #9D34CA #B564D7 #CC95E4

Accessibility & contrast

On white

5.56
#9D34CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9D34CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D34CA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D34CA#FFFFFF#000000##FFFFFF
##9D34CA1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#256AC7
Tritanopia (blue-blind)
#98567D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d34ca;
/* rgb */ color: rgb(157, 52, 202);
/* oklch */ color: oklch(54.7% 0.225 313.4);
Tailwind
colors: {
  custom: {
    50: '#be76db',
    500: '#9d34ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d34ca;
$custom-light: #be76db;
$custom-dark: #000000;
JSON
{
  "hex": "#9d34ca",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 282,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54676,
    "c": 0.2246,
    "h": 313.4
  },
  "luminance": 0.13888
}

Semantic roles & 50–950 ramp

primary
#9D34CA
secondary
#9FCF8B
accent
#E24675
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D34CA

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

Preview Lab → · Contrast checker → · Palette generator →

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