#AB2EB6#AB2EB6

#AB2EB6 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.219 H 324.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AB2EB6
RGBrgb(171, 46, 182)
HSLhsl(295, 60%, 45%)
HSVhsv(295, 75%, 71%)
CMYKcmyk(6%, 74.7%, 0%, 28.6%)
CIE-LABlab(44.22, 65.90, -45.77)
CIE-LCHlch(44.22, 80.23, 325.22°)
OKLaboklab(54.8% 0.1784 -0.1276)
OKLCHoklch(54.8% 0.219 324.4)
XYZxyz(26.2144, 13.9910, 45.5667)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2EB6 #39B62E
analogous
#672EB6 #AB2EB6 #B62E7D
triadic
#AB2EB6 #B6AB2E #2EB6AB
tetradic
#AB2EB6 #B6672E #39B62E #2E7DB6
square
#AB2EB6 #B6672E #39B62E #2E7DB6
split-complementary
#AB2EB6 #7DB62E #2EB667
monochromatic
#4F1554 #7D2285 #AB2EB6 #C84FD2 #D780DF

Accessibility & contrast

On white

5.53
#AB2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AB2EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2EB6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2EB6#FFFFFF#000000##FFFFFF
##AB2EB61.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#496EB3
Tritanopia (blue-blind)
#AE4770
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab2eb6;
/* rgb */ color: rgb(171, 46, 182);
/* oklch */ color: oklch(54.8% 0.219 324.4);
Tailwind
colors: {
  custom: {
    50: '#c874cc',
    500: '#ab2eb6',
    950: '#000000',
  },
}
SCSS
$custom: #ab2eb6;
$custom-light: #c874cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2eb6",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 295.147,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.548,
    "c": 0.2193,
    "h": 324.4
  },
  "luminance": 0.13989
}

Semantic roles & 50–950 ramp

primary
#AB2EB6
secondary
#7FC878
accent
#E34552
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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