#AB3AB5#AB3AB5

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

Color values

HEX#AB3AB5
RGBrgb(171, 58, 181)
HSLhsl(295, 51%, 47%)
HSVhsv(295, 68%, 71%)
CMYKcmyk(5.5%, 68%, 0%, 29%)
CIE-LABlab(45.66, 61.45, -42.88)
CIE-LCHlch(45.66, 74.94, 325.09°)
OKLaboklab(55.82% 0.1666 -0.1193)
OKLCHoklch(55.82% 0.205 324.4)
XYZxyz(26.6474, 15.0218, 45.2030)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AB5 #44B53A
analogous
#6E3AB5 #AB3AB5 #B53A82
triadic
#AB3AB5 #B5AB3A #3AB5AB
tetradic
#AB3AB5 #B56E3A #44B53A #3A82B5
square
#AB3AB5 #B56E3A #44B53A #3A82B5
split-complementary
#AB3AB5 #82B53A #3AB56E
monochromatic
#531C58 #7F2B87 #AB3AB5 #C360CC #D58EDB

Accessibility & contrast

On white

5.24
#AB3AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3AB5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AB5#FFFFFF#000000##FFFFFF
##AB3AB51.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C63B9
Deuteranopia (green-blind)
#5071B2
Tritanopia (blue-blind)
#AE4E73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3ab5;
/* rgb */ color: rgb(171, 58, 181);
/* oklch */ color: oklch(55.8% 0.205 324.4);
Tailwind
colors: {
  custom: {
    50: '#c77acc',
    500: '#ab3ab5',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ab5;
$custom-light: #c77acc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ab5",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 295.122,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55815,
    "c": 0.20492,
    "h": 324.4
  },
  "luminance": 0.1502
}

Semantic roles & 50–950 ramp

primary
#AB3AB5
secondary
#8AC685
accent
#DB4D58
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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