#AB4EAC#AB4EAC

#AB4EAC is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.6% C 0.169 H 327.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AB4EAC
RGBrgb(171, 78, 172)
HSLhsl(299, 38%, 49%)
HSVhsv(299, 55%, 67%)
CMYKcmyk(0.6%, 54.7%, 0%, 32.5%)
CIE-LABlab(48.37, 51.09, -33.32)
CIE-LCHlch(48.37, 61.00, 326.88°)
OKLaboklab(57.63% 0.1417 -0.0917)
OKLCHoklch(57.63% 0.169 327.1)
XYZxyz(26.9649, 17.0868, 40.8995)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EAC #4FAC4E
analogous
#7C4EAC #AB4EAC #AC4E7E
triadic
#AB4EAC #ACAB4E #4EACAB
tetradic
#AB4EAC #AC7C4E #4FAC4E #4E7EAC
square
#AB4EAC #AC7C4E #4FAC4E #4E7EAC
split-complementary
#AB4EAC #7EAC4E #4EAC7C
monochromatic
#572858 #813B82 #AB4EAC #C076C1 #D4A0D4

Accessibility & contrast

On white

4.75
#AB4EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AB4EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4EAC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EAC#FFFFFF#000000##FFFFFF
##AB4EAC1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446BAF
Deuteranopia (green-blind)
#6277A9
Tritanopia (blue-blind)
#B05976
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab4eac;
/* rgb */ color: rgb(171, 78, 172);
/* oklch */ color: oklch(57.6% 0.169 327.1);
Tailwind
colors: {
  custom: {
    50: '#c684c5',
    500: '#ab4eac',
    950: '#000000',
  },
}
SCSS
$custom: #ab4eac;
$custom-light: #c684c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4eac",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 299.362,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57628,
    "c": 0.16881,
    "h": 327.1
  },
  "luminance": 0.17085
}

Semantic roles & 50–950 ramp

primary
#AB4EAC
secondary
#95C195
accent
#CE5A5B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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