#AB4FA3#AB4FA3

#AB4FA3 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.3% C 0.159 H 330.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AB4FA3
RGBrgb(171, 79, 163)
HSLhsl(305, 37%, 49%)
HSVhsv(305, 54%, 67%)
CMYKcmyk(0%, 53.8%, 4.7%, 32.9%)
CIE-LABlab(48.13, 48.99, -28.40)
CIE-LCHlch(48.13, 56.63, 329.90°)
OKLaboklab(57.31% 0.139 -0.0776)
OKLCHoklch(57.31% 0.159 330.8)
XYZxyz(26.2012, 16.8959, 36.5244)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FA3 #4FAB57
analogous
#854FAB #AB4FA3 #AB4F75
triadic
#AB4FA3 #A3AB4F #4FA3AB
tetradic
#AB4FA3 #AB854F #4FAB57 #4F75AB
square
#AB4FA3 #AB854F #4FAB57 #4F75AB
split-complementary
#AB4FA3 #75AB4F #4FAB85
monochromatic
#572853 #813C7B #AB4FA3 #C077BA #D4A1CF

Accessibility & contrast

On white

4.80
#AB4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AB4FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4FA3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FA3#FFFFFF#000000##FFFFFF
##AB4FA31.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA6
Deuteranopia (green-blind)
#6677A0
Tritanopia (blue-blind)
#B15772
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab4fa3;
/* rgb */ color: rgb(171, 79, 163);
/* oklch */ color: oklch(57.3% 0.159 330.8);
Tailwind
colors: {
  custom: {
    50: '#c685be',
    500: '#ab4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fa3;
$custom-light: #c685be;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fa3",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 305.217,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57314,
    "c": 0.15923,
    "h": 330.8
  },
  "luminance": 0.16894
}

Semantic roles & 50–950 ramp

primary
#AB4FA3
secondary
#95C199
accent
#CD655B
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AB4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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