#AB2FA3#AB2FA3

#AB2FA3 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.203 H 330.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AB2FA3
RGBrgb(171, 47, 163)
HSLhsl(304, 57%, 43%)
HSVhsv(304, 73%, 67%)
CMYKcmyk(0%, 72.5%, 4.7%, 32.9%)
CIE-LABlab(43.27, 62.41, -36.02)
CIE-LCHlch(43.27, 72.06, 330.01°)
OKLaboklab(53.77% 0.1776 -0.0993)
OKLCHoklch(53.77% 0.203 330.8)
XYZxyz(24.4219, 13.3372, 35.9313)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2FA3 #2FAB37
analogous
#752FAB #AB2FA3 #AB2F65
triadic
#AB2FA3 #A3AB2F #2FA3AB
tetradic
#AB2FA3 #AB752F #2FAB37 #2F65AB
square
#AB2FA3 #AB752F #2FAB37 #2F65AB
split-complementary
#AB2FA3 #65AB2F #2FAB75
monochromatic
#4B1547 #7B2275 #AB2FA3 #CD4AC5 #DA7AD4

Accessibility & contrast

On white

5.73
#AB2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AB2FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2FA3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2FA3#FFFFFF#000000##FFFFFF
##AB2FA31.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA6
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#B23E66
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab2fa3;
/* rgb */ color: rgb(171, 47, 163);
/* oklch */ color: oklch(53.8% 0.203 330.8);
Tailwind
colors: {
  custom: {
    50: '#c874bf',
    500: '#ab2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #ab2fa3;
$custom-light: #c874bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2fa3",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 303.871,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53774,
    "c": 0.20346,
    "h": 330.8
  },
  "luminance": 0.13335
}

Semantic roles & 50–950 ramp

primary
#AB2FA3
secondary
#73C378
accent
#E05148
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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