#AB4FC0#AB4FC0

#AB4FC0 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.8% C 0.186 H 319.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AB4FC0
RGBrgb(171, 79, 192)
HSLhsl(289, 47%, 53%)
HSVhsv(289, 59%, 75%)
CMYKcmyk(10.9%, 58.9%, 0%, 24.7%)
CIE-LABlab(49.56, 54.40, -43.10)
CIE-LCHlch(49.56, 69.40, 321.61°)
OKLaboklab(58.84% 0.1422 -0.12)
OKLCHoklch(58.84% 0.186 319.8)
XYZxyz(29.1038, 18.0569, 51.8113)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FC0 #64C04F
analogous
#734FC0 #AB4FC0 #C04F9C
triadic
#AB4FC0 #C0AB4F #4FC0AB
tetradic
#AB4FC0 #C0734F #64C04F #4F9CC0
square
#AB4FC0 #C0734F #64C04F #4F9CC0
split-complementary
#AB4FC0 #9CC04F #4FC073
monochromatic
#60276D #88379A #AB4FC0 #C17CD0 #D6A9E0

Accessibility & contrast

On white

4.55
#AB4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AB4FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FC0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FC0#FFFFFF#000000##000000
##AB4FC01.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#366FC4
Deuteranopia (green-blind)
#5879BD
Tritanopia (blue-blind)
#AC6180
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4fc0;
/* rgb */ color: rgb(171, 79, 192);
/* oklch */ color: oklch(58.8% 0.186 319.8);
Tailwind
colors: {
  custom: {
    50: '#c785d3',
    500: '#ab4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fc0;
$custom-light: #c785d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fc0",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 288.85,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58835,
    "c": 0.18605,
    "h": 319.8
  },
  "luminance": 0.18056
}

Semantic roles & 50–950 ramp

primary
#AB4FC0
secondary
#A6CE9D
accent
#D7516A
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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