#AB2FA0#AB2FA0

#AB2FA0 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.201 H 331.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AB2FA0
RGBrgb(171, 47, 160)
HSLhsl(305, 57%, 43%)
HSVhsv(305, 73%, 67%)
CMYKcmyk(0%, 72.5%, 6.4%, 32.9%)
CIE-LABlab(43.11, 61.93, -34.48)
CIE-LCHlch(43.11, 70.88, 330.89°)
OKLaboklab(53.61% 0.1775 -0.0948)
OKLCHoklch(53.61% 0.201 331.9)
XYZxyz(24.1563, 13.2310, 34.5325)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2FA0 #2FAB3A
analogous
#782FAB #AB2FA0 #AB2F62
triadic
#AB2FA0 #A0AB2F #2FA0AB
tetradic
#AB2FA0 #AB782F #2FAB3A #2F62AB
square
#AB2FA0 #AB782F #2FAB3A #2F62AB
split-complementary
#AB2FA0 #62AB2F #2FAB78
monochromatic
#4B1546 #7B2273 #AB2FA0 #CD4AC2 #DA7AD2

Accessibility & contrast

On white

5.76
#AB2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AB2FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2FA0
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2FA0#FFFFFF#000000##FFFFFF
##AB2FA01.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275BA3
Deuteranopia (green-blind)
#566C9D
Tritanopia (blue-blind)
#B23D64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab2fa0;
/* rgb */ color: rgb(171, 47, 160);
/* oklch */ color: oklch(53.6% 0.201 331.9);
Tailwind
colors: {
  custom: {
    50: '#c874bc',
    500: '#ab2fa0',
    950: '#000000',
  },
}
SCSS
$custom: #ab2fa0;
$custom-light: #c874bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2fa0",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 305.323,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5361,
    "c": 0.20121,
    "h": 331.9
  },
  "luminance": 0.13229
}

Semantic roles & 50–950 ramp

primary
#AB2FA0
secondary
#73C37A
accent
#E05548
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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