#AB2CB3#AB2CB3

#AB2CB3 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.219 H 325.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AB2CB3
RGBrgb(171, 44, 179)
HSLhsl(296, 61%, 44%)
HSVhsv(296, 75%, 70%)
CMYKcmyk(4.5%, 75.4%, 0%, 29.8%)
CIE-LABlab(43.82, 66.02, -44.64)
CIE-LCHlch(43.82, 79.69, 325.93°)
OKLaboklab(54.46% 0.1803 -0.1243)
OKLCHoklch(54.46% 0.219 325.4)
XYZxyz(25.8314, 13.7157, 43.9259)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2CB3 #34B32C
analogous
#672CB3 #AB2CB3 #B32C77
triadic
#AB2CB3 #B3AB2C #2CB3AB
tetradic
#AB2CB3 #B3672C #34B32C #2C77B3
square
#AB2CB3 #B3672C #34B32C #2C77B3
split-complementary
#AB2CB3 #77B32C #2CB367
monochromatic
#4D1451 #7C2082 #AB2CB3 #CA4AD2 #D97BDF

Accessibility & contrast

On white

5.61
#AB2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AB2CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2CB3
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2CB3#FFFFFF#000000##FFFFFF
##AB2CB31.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#4A6DB0
Tritanopia (blue-blind)
#AF446E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab2cb3;
/* rgb */ color: rgb(171, 44, 179);
/* oklch */ color: oklch(54.5% 0.219 325.4);
Tailwind
colors: {
  custom: {
    50: '#c873ca',
    500: '#ab2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #ab2cb3;
$custom-light: #c873ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2cb3",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 296.444,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5446,
    "c": 0.21895,
    "h": 325.4
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

primary
#AB2CB3
secondary
#79C774
accent
#E4444E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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