#AB4EB3#AB4EB3

#AB4EB3 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.0% C 0.175 H 324.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AB4EB3
RGBrgb(171, 78, 179)
HSLhsl(295, 40%, 50%)
HSVhsv(295, 56%, 70%)
CMYKcmyk(4.5%, 56.4%, 0%, 29.8%)
CIE-LABlab(48.71, 52.38, -36.88)
CIE-LCHlch(48.71, 64.06, 324.85°)
OKLaboklab(57.99% 0.1425 -0.102)
OKLCHoklch(57.99% 0.175 324.4)
XYZxyz(27.6550, 17.3629, 44.5338)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EB3 #56B34E
analogous
#794EB3 #AB4EB3 #B34E88
triadic
#AB4EB3 #B3AB4E #4EB3AB
tetradic
#AB4EB3 #B3794E #56B34E #4E88B3
square
#AB4EB3 #B3794E #56B34E #4E88B3
split-complementary
#AB4EB3 #88B34E #4EB379
monochromatic
#5A285E #833B89 #AB4EB3 #BF79C5 #D4A4D8

Accessibility & contrast

On white

4.70
#AB4EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AB4EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4EB3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EB3#FFFFFF#000000##FFFFFF
##AB4EB31.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB6
Deuteranopia (green-blind)
#5E78B0
Tritanopia (blue-blind)
#AE5B79
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab4eb3;
/* rgb */ color: rgb(171, 78, 179);
/* oklch */ color: oklch(58.0% 0.175 324.4);
Tailwind
colors: {
  custom: {
    50: '#c684ca',
    500: '#ab4eb3',
    950: '#000000',
  },
}
SCSS
$custom: #ab4eb3;
$custom-light: #c684ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4eb3",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 295.248,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57994,
    "c": 0.17524,
    "h": 324.4
  },
  "luminance": 0.17361
}

Semantic roles & 50–950 ramp

primary
#AB4EB3
secondary
#9BC598
accent
#D05861
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB4EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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