#AB34AF#AB34AF

#AB34AF is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.207 H 326.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AB34AF
RGBrgb(171, 52, 175)
HSLhsl(298, 54%, 45%)
HSVhsv(298, 70%, 69%)
CMYKcmyk(2.3%, 70.3%, 0%, 31.4%)
CIE-LABlab(44.53, 62.65, -41.15)
CIE-LCHlch(44.53, 74.95, 326.71°)
OKLaboklab(54.9% 0.1729 -0.1142)
OKLCHoklch(54.9% 0.207 326.6)
XYZxyz(25.7600, 14.2108, 41.9353)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34AF #38AF34
analogous
#6E34AF #AB34AF #AF3476
triadic
#AB34AF #AFAB34 #34AFAB
tetradic
#AB34AF #AF6E34 #38AF34 #3476AF
square
#AB34AF #AF6E34 #38AF34 #3476AF
split-complementary
#AB34AF #76AF34 #34AF6E
monochromatic
#4F1851 #7D2680 #AB34AF #C854CC #D783DA

Accessibility & contrast

On white

5.47
#AB34AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AB34AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB34AF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34AF#FFFFFF#000000##FFFFFF
##AB34AF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A60B2
Deuteranopia (green-blind)
#516FAC
Tritanopia (blue-blind)
#B0476E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab34af;
/* rgb */ color: rgb(171, 52, 175);
/* oklch */ color: oklch(54.9% 0.207 326.6);
Tailwind
colors: {
  custom: {
    50: '#c877c7',
    500: '#ab34af',
    950: '#000000',
  },
}
SCSS
$custom: #ab34af;
$custom-light: #c877c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34af",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 298.049,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54895,
    "c": 0.20716,
    "h": 326.6
  },
  "luminance": 0.14209
}

Semantic roles & 50–950 ramp

primary
#AB34AF
secondary
#7DC47B
accent
#DE4A4F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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