#9D34AF#9D34AF

#9D34AF is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.9% C 0.201 H 321.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9D34AF
RGBrgb(157, 52, 175)
HSLhsl(291, 54%, 45%)
HSVhsv(291, 70%, 69%)
CMYKcmyk(10.3%, 70.3%, 0%, 31.4%)
CIE-LABlab(42.34, 59.53, -44.77)
CIE-LCHlch(42.34, 74.48, 323.05°)
OKLaboklab(52.89% 0.1569 -0.1251)
OKLCHoklch(52.89% 0.201 321.4)
XYZxyz(22.8696, 12.7204, 41.7998)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D34AF #46AF34
analogous
#6034AF #9D34AF #AF3483
triadic
#9D34AF #AF9D34 #34AF9D
tetradic
#9D34AF #AF6034 #46AF34 #3483AF
square
#9D34AF #AF6034 #46AF34 #3483AF
split-complementary
#9D34AF #83AF34 #34AF60
monochromatic
#481851 #732680 #9D34AF #BB54CC #CD83DA

Accessibility & contrast

On white

5.93
#9D34AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9D34AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D34AF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D34AF#FFFFFF#000000##FFFFFF
##9D34AF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4368AC
Tritanopia (blue-blind)
#9E4A6E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d34af;
/* rgb */ color: rgb(157, 52, 175);
/* oklch */ color: oklch(52.9% 0.201 321.4);
Tailwind
colors: {
  custom: {
    50: '#bd75c7',
    500: '#9d34af',
    950: '#000000',
  },
}
SCSS
$custom: #9d34af;
$custom-light: #bd75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d34af",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 291.22,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52888,
    "c": 0.20066,
    "h": 321.4
  },
  "luminance": 0.12719
}

Semantic roles & 50–950 ramp

primary
#9D34AF
secondary
#86C47B
accent
#DE4A60
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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