#AB349E#AB349E

#AB349E is a mid, vivid purple. Relative luminance 0.136; OKLCH L 54.0% C 0.194 H 332.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AB349E
RGBrgb(171, 52, 158)
HSLhsl(307, 53%, 44%)
HSVhsv(307, 70%, 67%)
CMYKcmyk(0%, 69.6%, 7.6%, 32.9%)
CIE-LABlab(43.63, 59.85, -32.46)
CIE-LCHlch(43.63, 68.08, 331.53°)
OKLaboklab(53.95% 0.1722 -0.089)
OKLCHoklch(53.95% 0.194 332.7)
XYZxyz(24.1942, 13.5845, 33.6889)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB349E #34AB41
analogous
#7C34AB #AB349E #AB3462
triadic
#AB349E #9EAB34 #349EAB
tetradic
#AB349E #AB7C34 #34AB41 #3462AB
square
#AB349E #AB7C34 #34AB41 #3462AB
split-complementary
#AB349E #62AB34 #34AB7C
monochromatic
#4D1747 #7C2673 #AB349E #CA52BD #D981CF

Accessibility & contrast

On white

5.65
#AB349E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AB349E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB349E
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB349E#FFFFFF#000000##FFFFFF
##AB349E1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA1
Deuteranopia (green-blind)
#5A6D9B
Tritanopia (blue-blind)
#B24065
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab349e;
/* rgb */ color: rgb(171, 52, 158);
/* oklch */ color: oklch(54.0% 0.194 332.7);
Tailwind
colors: {
  custom: {
    50: '#c776bb',
    500: '#ab349e',
    950: '#000000',
  },
}
SCSS
$custom: #ab349e;
$custom-light: #c776bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab349e",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 306.555,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.19385,
    "h": 332.7
  },
  "luminance": 0.13583
}

Semantic roles & 50–950 ramp

primary
#AB349E
secondary
#79C281
accent
#DD5B4B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AB349E

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

Preview Lab → · Contrast checker → · Palette generator →

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