#AB4FC9#AB4FC9

#AB4FC9 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.4% C 0.195 H 317.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AB4FC9
RGBrgb(171, 79, 201)
HSLhsl(285, 53%, 55%)
HSVhsv(285, 61%, 79%)
CMYKcmyk(14.9%, 60.7%, 0%, 21.2%)
CIE-LABlab(50.06, 56.19, -47.51)
CIE-LCHlch(50.06, 73.58, 319.79°)
OKLaboklab(59.35% 0.1425 -0.1329)
OKLCHoklch(59.35% 0.195 317)
XYZxyz(30.1316, 18.4681, 57.2245)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FC9 #6DC94F
analogous
#6E4FC9 #AB4FC9 #C94FAA
triadic
#AB4FC9 #C9AB4F #4FC9AB
tetradic
#AB4FC9 #C96E4F #6DC94F #4FAAC9
square
#AB4FC9 #C96E4F #6DC94F #4FAAC9
split-complementary
#AB4FC9 #AAC94F #4FC96E
monochromatic
#642579 #8B33A7 #AB4FC9 #C17ED7 #D8ADE6

Accessibility & contrast

On white

4.47
#AB4FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AB4FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FC9
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FC9#FFFFFF#000000##000000
##AB4FC91.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B71CD
Deuteranopia (green-blind)
#527AC6
Tritanopia (blue-blind)
#AA6485
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4fc9;
/* rgb */ color: rgb(171, 79, 201);
/* oklch */ color: oklch(59.4% 0.195 317.0);
Tailwind
colors: {
  custom: {
    50: '#c785da',
    500: '#ab4fc9',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fc9;
$custom-light: #c785da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fc9",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 201
  },
  "hsl": {
    "h": 285.246,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59354,
    "c": 0.19481,
    "h": 317
  },
  "luminance": 0.18467
}

Semantic roles & 50–950 ramp

primary
#AB4FC9
secondary
#ADD4A0
accent
#DC4B6F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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