#AB34A4#AB34A4

#AB34A4 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.3% C 0.198 H 330.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AB34A4
RGBrgb(171, 52, 164)
HSLhsl(304, 53%, 44%)
HSVhsv(304, 70%, 67%)
CMYKcmyk(0%, 69.6%, 4.1%, 32.9%)
CIE-LABlab(43.94, 60.81, -35.56)
CIE-LCHlch(43.94, 70.45, 329.68°)
OKLaboklab(54.28% 0.1726 -0.098)
OKLCHoklch(54.28% 0.198 330.4)
XYZxyz(24.7233, 13.7961, 36.4755)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34A4 #34AB3B
analogous
#7634AB #AB34A4 #AB3468
triadic
#AB34A4 #A4AB34 #34A4AB
tetradic
#AB34A4 #AB7634 #34AB3B #3468AB
square
#AB34A4 #AB7634 #34AB3B #3468AB
split-complementary
#AB34A4 #68AB34 #34AB76
monochromatic
#4D174A #7C2677 #AB34A4 #CA52C3 #D981D3

Accessibility & contrast

On white

5.59
#AB34A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AB34A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB34A4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34A4#FFFFFF#000000##FFFFFF
##AB34A41.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA7
Deuteranopia (green-blind)
#576EA1
Tritanopia (blue-blind)
#B14268
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab34a4;
/* rgb */ color: rgb(171, 52, 164);
/* oklch */ color: oklch(54.3% 0.198 330.4);
Tailwind
colors: {
  custom: {
    50: '#c776bf',
    500: '#ab34a4',
    950: '#000000',
  },
}
SCSS
$custom: #ab34a4;
$custom-light: #c776bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34a4",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 303.529,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54275,
    "c": 0.19846,
    "h": 330.4
  },
  "luminance": 0.13794
}

Semantic roles & 50–950 ramp

primary
#AB34A4
secondary
#79C27D
accent
#DD544B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AB34A4

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

Preview Lab → · Contrast checker → · Palette generator →

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