#AB34A9#AB34A9

#AB34A9 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.202 H 328.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AB34A9
RGBrgb(171, 52, 169)
HSLhsl(301, 53%, 44%)
HSVhsv(301, 70%, 67%)
CMYKcmyk(0%, 69.6%, 1.2%, 32.9%)
CIE-LABlab(44.20, 61.64, -38.11)
CIE-LCHlch(44.20, 72.47, 328.27°)
OKLaboklab(54.55% 0.1728 -0.1054)
OKLCHoklch(54.55% 0.202 328.6)
XYZxyz(25.1837, 13.9803, 38.9005)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34A9 #34AB36
analogous
#7134AB #AB34A9 #AB346D
triadic
#AB34A9 #A9AB34 #34A9AB
tetradic
#AB34A9 #AB7134 #34AB36 #346DAB
square
#AB34A9 #AB7134 #34AB36 #346DAB
split-complementary
#AB34A9 #6DAB34 #34AB71
monochromatic
#4D174C #7C267B #AB34A9 #CA52C8 #D981D7

Accessibility & contrast

On white

5.53
#AB34A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AB34A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB34A9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34A9#FFFFFF#000000##FFFFFF
##AB34A91.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235EAC
Deuteranopia (green-blind)
#546EA6
Tritanopia (blue-blind)
#B1446B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab34a9;
/* rgb */ color: rgb(171, 52, 169);
/* oklch */ color: oklch(54.6% 0.202 328.6);
Tailwind
colors: {
  custom: {
    50: '#c776c3',
    500: '#ab34a9',
    950: '#000000',
  },
}
SCSS
$custom: #ab34a9;
$custom-light: #c776c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34a9",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 169
  },
  "hsl": {
    "h": 301.008,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54552,
    "c": 0.20237,
    "h": 328.6
  },
  "luminance": 0.13978
}

Semantic roles & 50–950 ramp

primary
#AB34A9
secondary
#79C27A
accent
#DD4D4B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AB34A9

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

Preview Lab → · Contrast checker → · Palette generator →

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