#AB3EC5#AB3EC5

#AB3EC5 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.214 H 319.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AB3EC5
RGBrgb(171, 62, 197)
HSLhsl(288, 54%, 51%)
HSVhsv(288, 69%, 77%)
CMYKcmyk(13.2%, 68.5%, 0%, 22.7%)
CIE-LABlab(47.15, 62.82, -49.84)
CIE-LCHlch(47.15, 80.19, 321.57°)
OKLaboklab(57.18% 0.162 -0.1396)
OKLCHoklch(57.18% 0.214 319.3)
XYZxyz(28.5939, 16.1357, 54.4208)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EC5 #58C53E
analogous
#673EC5 #AB3EC5 #C53E9C
triadic
#AB3EC5 #C5AB3E #3EC5AB
tetradic
#AB3EC5 #C5673E #58C53E #3E9CC5
square
#AB3EC5 #C5673E #58C53E #3E9CC5
split-complementary
#AB3EC5 #9CC53E #3EC567
monochromatic
#5B2069 #842E98 #AB3EC5 #BF6DD3 #D49CE1

Accessibility & contrast

On white

4.97
#AB3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AB3EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EC5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EC5#FFFFFF#000000##FFFFFF
##AB3EC51.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069C9
Deuteranopia (green-blind)
#4773C2
Tritanopia (blue-blind)
#AB577D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3ec5;
/* rgb */ color: rgb(171, 62, 197);
/* oklch */ color: oklch(57.2% 0.214 319.3);
Tailwind
colors: {
  custom: {
    50: '#c87cd7',
    500: '#ab3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ec5;
$custom-light: #c87cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ec5",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 288.444,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57181,
    "c": 0.21384,
    "h": 319.3
  },
  "luminance": 0.16134
}

Semantic roles & 50–950 ramp

primary
#AB3EC5
secondary
#9DCD91
accent
#DD4B67
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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