#AB3AB4#AB3AB4

#AB3AB4 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.204 H 324.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AB3AB4
RGBrgb(171, 58, 180)
HSLhsl(296, 51%, 47%)
HSVhsv(296, 68%, 71%)
CMYKcmyk(5%, 67.8%, 0%, 29.4%)
CIE-LABlab(45.61, 61.28, -42.38)
CIE-LCHlch(45.61, 74.51, 325.33°)
OKLaboklab(55.76% 0.1666 -0.1178)
OKLCHoklch(55.76% 0.204 324.7)
XYZxyz(26.5452, 14.9810, 44.6646)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AB4 #43B43A
analogous
#6E3AB4 #AB3AB4 #B43A80
triadic
#AB3AB4 #B4AB3A #3AB4AB
tetradic
#AB3AB4 #B46E3A #43B43A #3A80B4
square
#AB3AB4 #B46E3A #43B43A #3A80B4
split-complementary
#AB3AB4 #80B43A #3AB46E
monochromatic
#531C57 #7F2B86 #AB3AB4 #C460CC #D58EDB

Accessibility & contrast

On white

5.26
#AB3AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AB3AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AB4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AB4#FFFFFF#000000##FFFFFF
##AB3AB41.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E63B8
Deuteranopia (green-blind)
#5171B1
Tritanopia (blue-blind)
#AF4D73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3ab4;
/* rgb */ color: rgb(171, 58, 180);
/* oklch */ color: oklch(55.8% 0.204 324.7);
Tailwind
colors: {
  custom: {
    50: '#c77acb',
    500: '#ab3ab4',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ab4;
$custom-light: #c77acb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ab4",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 295.574,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55757,
    "c": 0.20407,
    "h": 324.7
  },
  "luminance": 0.14979
}

Semantic roles & 50–950 ramp

primary
#AB3AB4
secondary
#89C585
accent
#DB4D58
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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