#AB34BA#AB34BA

#AB34BA is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.216 H 323.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AB34BA
RGBrgb(171, 52, 186)
HSLhsl(293, 56%, 47%)
HSVhsv(293, 72%, 73%)
CMYKcmyk(8.1%, 72%, 0%, 27.1%)
CIE-LABlab(45.17, 64.57, -46.61)
CIE-LCHlch(45.17, 79.63, 324.18°)
OKLaboklab(55.55% 0.1726 -0.1301)
OKLCHoklch(55.55% 0.216 323)
XYZxyz(26.8847, 14.6607, 47.8586)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34BA #43BA34
analogous
#6834BA #AB34BA #BA3486
triadic
#AB34BA #BAAB34 #34BAAB
tetradic
#AB34BA #BA6834 #43BA34 #3486BA
square
#AB34BA #BA6834 #43BA34 #3486BA
split-complementary
#AB34BA #86BA34 #34BA68
monochromatic
#53195A #7F278A #AB34BA #C45AD1 #D58ADE

Accessibility & contrast

On white

5.34
#AB34BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AB34BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB34BA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34BA#FFFFFF#000000##FFFFFF
##AB34BA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#496FB7
Tritanopia (blue-blind)
#AE4C74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab34ba;
/* rgb */ color: rgb(171, 52, 186);
/* oklch */ color: oklch(55.6% 0.216 323.0);
Tailwind
colors: {
  custom: {
    50: '#c877cf',
    500: '#ab34ba',
    950: '#000000',
  },
}
SCSS
$custom: #ab34ba;
$custom-light: #c877cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34ba",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 293.284,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55551,
    "c": 0.21614,
    "h": 323
  },
  "luminance": 0.14659
}

Semantic roles & 50–950 ramp

primary
#AB34BA
secondary
#89C881
accent
#E04859
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB34BA

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

Preview Lab → · Contrast checker → · Palette generator →

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