#AB4FC5#AB4FC5

#AB4FC5 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.191 H 318.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AB4FC5
RGBrgb(171, 79, 197)
HSLhsl(287, 50%, 54%)
HSVhsv(287, 60%, 77%)
CMYKcmyk(13.2%, 59.9%, 0%, 22.7%)
CIE-LABlab(49.84, 55.39, -45.56)
CIE-LCHlch(49.84, 71.72, 320.56°)
OKLaboklab(59.12% 0.1424 -0.1272)
OKLCHoklch(59.12% 0.191 318.2)
XYZxyz(29.6672, 18.2823, 54.7786)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FC5 #69C54F
analogous
#704FC5 #AB4FC5 #C54FA4
triadic
#AB4FC5 #C5AB4F #4FC5AB
tetradic
#AB4FC5 #C5704F #69C54F #4FA4C5
square
#AB4FC5 #C5704F #69C54F #4FA4C5
split-complementary
#AB4FC5 #A4C54F #4FC570
monochromatic
#622674 #8A35A2 #AB4FC5 #C17DD4 #D7ABE3

Accessibility & contrast

On white

4.51
#AB4FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AB4FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FC5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FC5#FFFFFF#000000##000000
##AB4FC51.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3070C9
Deuteranopia (green-blind)
#547AC2
Tritanopia (blue-blind)
#AB6283
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4fc5;
/* rgb */ color: rgb(171, 79, 197);
/* oklch */ color: oklch(59.1% 0.191 318.2);
Tailwind
colors: {
  custom: {
    50: '#c785d7',
    500: '#ab4fc5',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fc5;
$custom-light: #c785d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fc5",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 286.78,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5912,
    "c": 0.1909,
    "h": 318.2
  },
  "luminance": 0.18281
}

Semantic roles & 50–950 ramp

primary
#AB4FC5
secondary
#AAD19F
accent
#DA4E6D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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