#AB34AA#AB34AA

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

Color values

HEX#AB34AA
RGBrgb(171, 52, 170)
HSLhsl(301, 53%, 44%)
HSVhsv(301, 70%, 67%)
CMYKcmyk(0%, 69.6%, 0.6%, 32.9%)
CIE-LABlab(44.26, 61.81, -38.62)
CIE-LCHlch(44.26, 72.88, 328.00°)
OKLaboklab(54.61% 0.1728 -0.1068)
OKLCHoklch(54.61% 0.203 328.3)
XYZxyz(25.2780, 14.0180, 39.3968)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34AA #34AB35
analogous
#7034AB #AB34AA #AB346E
triadic
#AB34AA #AAAB34 #34AAAB
tetradic
#AB34AA #AB7034 #34AB35 #346EAB
square
#AB34AA #AB7034 #34AB35 #346EAB
split-complementary
#AB34AA #6EAB34 #34AB70
monochromatic
#4D174D #7C267B #AB34AA #CA52C9 #D981D8

Accessibility & contrast

On white

5.52
#AB34AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB34AA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34AA#FFFFFF#000000##FFFFFF
##AB34AA1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAD
Deuteranopia (green-blind)
#536EA7
Tritanopia (blue-blind)
#B0456B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab34aa;
/* rgb */ color: rgb(171, 52, 170);
/* oklch */ color: oklch(54.6% 0.203 328.3);
Tailwind
colors: {
  custom: {
    50: '#c776c4',
    500: '#ab34aa',
    950: '#000000',
  },
}
SCSS
$custom: #ab34aa;
$custom-light: #c776c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34aa",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 300.504,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.20316,
    "h": 328.3
  },
  "luminance": 0.14016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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