#AB2CA3#AB2CA3

#AB2CA3 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.207 H 330.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AB2CA3
RGBrgb(171, 44, 163)
HSLhsl(304, 59%, 42%)
HSVhsv(304, 74%, 67%)
CMYKcmyk(0%, 74.3%, 4.7%, 32.9%)
CIE-LABlab(42.92, 63.39, -36.57)
CIE-LCHlch(42.92, 73.19, 330.02°)
OKLaboklab(53.53% 0.1804 -0.1008)
OKLCHoklch(53.53% 0.207 330.8)
XYZxyz(24.3061, 13.1056, 35.8927)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2CA3 #2CAB34
analogous
#742CAB #AB2CA3 #AB2C63
triadic
#AB2CA3 #A3AB2C #2CA3AB
tetradic
#AB2CA3 #AB742C #2CAB34 #2C63AB
square
#AB2CA3 #AB742C #2CAB34 #2C63AB
split-complementary
#AB2CA3 #63AB2C #2CAB74
monochromatic
#4A1346 #7A1F75 #AB2CA3 #CF45C6 #DC76D5

Accessibility & contrast

On white

5.80
#AB2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AB2CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2CA3
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2CA3#FFFFFF#000000##FFFFFF
##AB2CA31.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA6
Deuteranopia (green-blind)
#546BA0
Tritanopia (blue-blind)
#B23C65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab2ca3;
/* rgb */ color: rgb(171, 44, 163);
/* oklch */ color: oklch(53.5% 0.207 330.8);
Tailwind
colors: {
  custom: {
    50: '#c873bf',
    500: '#ab2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #ab2ca3;
$custom-light: #c873bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2ca3",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 303.78,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53527,
    "c": 0.2067,
    "h": 330.8
  },
  "luminance": 0.13104
}

Semantic roles & 50–950 ramp

primary
#AB2CA3
secondary
#6FC375
accent
#E24F46
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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