#AB2AB0#AB2AB0

#AB2AB0 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.219 H 326.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AB2AB0
RGBrgb(171, 42, 176)
HSLhsl(298, 61%, 43%)
HSVhsv(298, 76%, 69%)
CMYKcmyk(2.8%, 76.1%, 0%, 31%)
CIE-LABlab(43.43, 66.13, -43.49)
CIE-LCHlch(43.43, 79.14, 326.67°)
OKLaboklab(54.13% 0.1821 -0.1209)
OKLCHoklch(54.13% 0.219 326.4)
XYZxyz(25.4586, 13.4502, 42.3211)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2AB0 #2FB02A
analogous
#682AB0 #AB2AB0 #B02A72
triadic
#AB2AB0 #B0AB2A #2AB0AB
tetradic
#AB2AB0 #B0682A #2FB02A #2A72B0
square
#AB2AB0 #B0682A #2FB02A #2A72B0
split-complementary
#AB2AB0 #72B02A #2AB068
monochromatic
#4B124D #7B1E7F #AB2AB0 #CD45D3 #DA76DE

Accessibility & contrast

On white

5.69
#AB2AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AB2AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2AB0
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2AB0#FFFFFF#000000##FFFFFF
##AB2AB01.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#4B6CAD
Tritanopia (blue-blind)
#B0426C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab2ab0;
/* rgb */ color: rgb(171, 42, 176);
/* oklch */ color: oklch(54.1% 0.219 326.4);
Tailwind
colors: {
  custom: {
    50: '#c872c8',
    500: '#ab2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #ab2ab0;
$custom-light: #c872c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2ab0",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 297.761,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54127,
    "c": 0.21858,
    "h": 326.4
  },
  "luminance": 0.13448
}

Semantic roles & 50–950 ramp

primary
#AB2AB0
secondary
#73C670
accent
#E54349
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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