#AB34C0#AB34C0

#AB34C0 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.221 H 321.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AB34C0
RGBrgb(171, 52, 192)
HSLhsl(291, 57%, 48%)
HSVhsv(291, 73%, 75%)
CMYKcmyk(10.9%, 72.9%, 0%, 24.7%)
CIE-LABlab(45.53, 65.65, -49.54)
CIE-LCHlch(45.53, 82.24, 322.96°)
OKLaboklab(55.92% 0.1723 -0.1386)
OKLCHoklch(55.92% 0.221 321.2)
XYZxyz(27.5359, 14.9212, 51.2886)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34C0 #49C034
analogous
#6534C0 #AB34C0 #C0348F
triadic
#AB34C0 #C0AB34 #34C0AB
tetradic
#AB34C0 #C06534 #49C034 #348FC0
square
#AB34C0 #C06534 #49C034 #348FC0
split-complementary
#AB34C0 #8FC034 #34C065
monochromatic
#551A60 #802790 #AB34C0 #C25ED3 #D48EE0

Accessibility & contrast

On white

5.27
#AB34C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AB34C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB34C0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34C0#FFFFFF#000000##FFFFFF
##AB34C01.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#4570BD
Tritanopia (blue-blind)
#AC4F77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab34c0;
/* rgb */ color: rgb(171, 52, 192);
/* oklch */ color: oklch(55.9% 0.221 321.2);
Tailwind
colors: {
  custom: {
    50: '#c877d4',
    500: '#ab34c0',
    950: '#000000',
  },
}
SCSS
$custom: #ab34c0;
$custom-light: #c877d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34c0",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 291,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55923,
    "c": 0.22112,
    "h": 321.2
  },
  "luminance": 0.1492
}

Semantic roles & 50–950 ramp

primary
#AB34C0
secondary
#8FCB85
accent
#E1475E
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB34C0

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

Preview Lab → · Contrast checker → · Palette generator →

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