#AB34B3#AB34B3

#AB34B3 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.210 H 325.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AB34B3
RGBrgb(171, 52, 179)
HSLhsl(296, 55%, 45%)
HSVhsv(296, 71%, 70%)
CMYKcmyk(4.5%, 70.9%, 0%, 29.8%)
CIE-LABlab(44.76, 63.34, -43.15)
CIE-LCHlch(44.76, 76.64, 325.74°)
OKLaboklab(55.13% 0.1728 -0.12)
OKLCHoklch(55.13% 0.21 325.2)
XYZxyz(26.1587, 14.3703, 44.0350)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34B3 #3CB334
analogous
#6B34B3 #AB34B3 #B3347C
triadic
#AB34B3 #B3AB34 #34B3AB
tetradic
#AB34B3 #B36B34 #3CB334 #347CB3
square
#AB34B3 #B36B34 #3CB334 #347CB3
split-complementary
#AB34B3 #7CB334 #34B36B
monochromatic
#501854 #7E2684 #AB34B3 #C656CE #D686DC

Accessibility & contrast

On white

5.42
#AB34B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AB34B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB34B3
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34B3#FFFFFF#000000##FFFFFF
##AB34B31.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1161B7
Deuteranopia (green-blind)
#4E6FB0
Tritanopia (blue-blind)
#AF4970
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab34b3;
/* rgb */ color: rgb(171, 52, 179);
/* oklch */ color: oklch(55.1% 0.210 325.2);
Tailwind
colors: {
  custom: {
    50: '#c877ca',
    500: '#ab34b3',
    950: '#000000',
  },
}
SCSS
$custom: #ab34b3;
$custom-light: #c877ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34b3",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 296.22,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55129,
    "c": 0.2104,
    "h": 325.2
  },
  "luminance": 0.14369
}

Semantic roles & 50–950 ramp

primary
#AB34B3
secondary
#82C57D
accent
#DE4953
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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