#AB3EC4#AB3EC4

#AB3EC4 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.213 H 319.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AB3EC4
RGBrgb(171, 62, 196)
HSLhsl(289, 53%, 51%)
HSVhsv(289, 68%, 77%)
CMYKcmyk(12.8%, 68.4%, 0%, 23.1%)
CIE-LABlab(47.09, 62.63, -49.35)
CIE-LCHlch(47.09, 79.74, 321.76°)
OKLaboklab(57.12% 0.162 -0.1382)
OKLCHoklch(57.12% 0.213 319.5)
XYZxyz(28.4797, 16.0901, 53.8194)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EC4 #57C43E
analogous
#683EC4 #AB3EC4 #C43E9A
triadic
#AB3EC4 #C4AB3E #3EC4AB
tetradic
#AB3EC4 #C4683E #57C43E #3E9AC4
square
#AB3EC4 #C4683E #57C43E #3E9AC4
split-complementary
#AB3EC4 #9AC43E #3EC468
monochromatic
#5A2068 #832E97 #AB3EC4 #BF6DD2 #D49CE1

Accessibility & contrast

On white

4.98
#AB3EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AB3EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EC4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EC4#FFFFFF#000000##FFFFFF
##AB3EC41.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#4873C1
Tritanopia (blue-blind)
#AB577C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3ec4;
/* rgb */ color: rgb(171, 62, 196);
/* oklch */ color: oklch(57.1% 0.213 319.5);
Tailwind
colors: {
  custom: {
    50: '#c87cd6',
    500: '#ab3ec4',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ec4;
$custom-light: #c87cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ec4",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 288.806,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5712,
    "c": 0.21295,
    "h": 319.5
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

primary
#AB3EC4
secondary
#9CCD91
accent
#DD4B66
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB3EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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