#9D34BD#9D34BD

#9D34BD is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.213 H 317.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9D34BD
RGBrgb(157, 52, 189)
HSLhsl(286, 57%, 47%)
HSVhsv(286, 72%, 74%)
CMYKcmyk(16.9%, 72.5%, 0%, 25.9%)
CIE-LABlab(43.21, 62.19, -51.61)
CIE-LCHlch(43.21, 80.82, 320.31°)
OKLaboklab(53.79% 0.1559 -0.1451)
OKLCHoklch(53.79% 0.213 317)
XYZxyz(24.3166, 13.2992, 49.4204)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D34BD #54BD34
analogous
#5834BD #9D34BD #BD3499
triadic
#9D34BD #BD9D34 #34BD9D
tetradic
#9D34BD #BD5834 #54BD34 #3499BD
square
#9D34BD #BD5834 #54BD34 #3499BD
split-complementary
#9D34BD #99BD34 #34BD58
monochromatic
#4D1A5D #75278D #9D34BD #B75CD2 #CC8CDF

Accessibility & contrast

On white

5.74
#9D34BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9D34BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D34BD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D34BD#FFFFFF#000000##FFFFFF
##9D34BD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#3669BA
Tritanopia (blue-blind)
#9B5076
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d34bd;
/* rgb */ color: rgb(157, 52, 189);
/* oklch */ color: oklch(53.8% 0.213 317.0);
Tailwind
colors: {
  custom: {
    50: '#be75d2',
    500: '#9d34bd',
    950: '#000000',
  },
}
SCSS
$custom: #9d34bd;
$custom-light: #be75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d34bd",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 285.985,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53789,
    "c": 0.21298,
    "h": 317
  },
  "luminance": 0.13298
}

Semantic roles & 50–950 ramp

primary
#9D34BD
secondary
#94CA83
accent
#E0486B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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