#AB34BB#AB34BB

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

Color values

HEX#AB34BB
RGBrgb(171, 52, 187)
HSLhsl(293, 56%, 47%)
HSVhsv(293, 72%, 73%)
CMYKcmyk(8.6%, 72.2%, 0%, 26.7%)
CIE-LABlab(45.23, 64.75, -47.10)
CIE-LCHlch(45.23, 80.06, 323.97°)
OKLaboklab(55.61% 0.1726 -0.1315)
OKLCHoklch(55.61% 0.217 322.7)
XYZxyz(26.9913, 14.7033, 48.4204)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34BB #44BB34
analogous
#6834BB #AB34BB #BB3488
triadic
#AB34BB #BBAB34 #34BBAB
tetradic
#AB34BB #BB6834 #44BB34 #3488BB
square
#AB34BB #BB6834 #44BB34 #3488BB
split-complementary
#AB34BB #88BB34 #34BB68
monochromatic
#53195B #7F278B #AB34BB #C35BD1 #D58BDF

Accessibility & contrast

On white

5.33
#AB34BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AB34BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB34BB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34BB#FFFFFF#000000##FFFFFF
##AB34BB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#4970B8
Tritanopia (blue-blind)
#AD4D75
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab34bb;
/* rgb */ color: rgb(171, 52, 187);
/* oklch */ color: oklch(55.6% 0.217 322.7);
Tailwind
colors: {
  custom: {
    50: '#c877d0',
    500: '#ab34bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab34bb;
$custom-light: #c877d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34bb",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 292.889,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55612,
    "c": 0.21697,
    "h": 322.7
  },
  "luminance": 0.14702
}

Semantic roles & 50–950 ramp

primary
#AB34BB
secondary
#8AC982
accent
#E0485A
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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