#AD34A2#AD34A2

#AD34A2 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.5% C 0.198 H 331.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AD34A2
RGBrgb(173, 52, 162)
HSLhsl(305, 54%, 44%)
HSVhsv(305, 70%, 68%)
CMYKcmyk(0%, 69.9%, 6.4%, 32.2%)
CIE-LABlab(44.16, 60.97, -33.99)
CIE-LCHlch(44.16, 69.80, 330.86°)
OKLaboklab(54.47% 0.1746 -0.0934)
OKLCHoklch(54.47% 0.198 331.9)
XYZxyz(24.9832, 13.9508, 35.5524)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD34A2 #34AD3F
analogous
#7C34AD #AD34A2 #AD3465
triadic
#AD34A2 #A2AD34 #34A2AD
tetradic
#AD34A2 #AD7C34 #34AD3F #3465AD
square
#AD34A2 #AD7C34 #34AD3F #3465AD
split-complementary
#AD34A2 #65AD34 #34AD7C
monochromatic
#4F184A #7E2676 #AD34A2 #CB53C0 #D982D1

Accessibility & contrast

On white

5.54
#AD34A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AD34A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD34A2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD34A2#FFFFFF#000000##FFFFFF
##AD34A21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#596E9F
Tritanopia (blue-blind)
#B44167
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ad34a2;
/* rgb */ color: rgb(173, 52, 162);
/* oklch */ color: oklch(54.5% 0.198 331.9);
Tailwind
colors: {
  custom: {
    50: '#c976be',
    500: '#ad34a2',
    950: '#000000',
  },
}
SCSS
$custom: #ad34a2;
$custom-light: #c976be;
$custom-dark: #000000;
JSON
{
  "hex": "#ad34a2",
  "rgb": {
    "r": 173,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 305.455,
    "s": 53.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54466,
    "c": 0.19801,
    "h": 331.9
  },
  "luminance": 0.13949
}

Semantic roles & 50–950 ramp

primary
#AD34A2
secondary
#7AC381
accent
#DD584B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AD34A2

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

Preview Lab → · Contrast checker → · Palette generator →

#AD34A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva