#AB4FC2#AB4FC2

#AB4FC2 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.9% C 0.188 H 319.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AB4FC2
RGBrgb(171, 79, 194)
HSLhsl(288, 49%, 54%)
HSVhsv(288, 59%, 76%)
CMYKcmyk(11.9%, 59.3%, 0%, 23.9%)
CIE-LABlab(49.67, 54.79, -44.08)
CIE-LCHlch(49.67, 70.33, 321.18°)
OKLaboklab(58.95% 0.1422 -0.1229)
OKLCHoklch(58.95% 0.188 319.2)
XYZxyz(29.3269, 18.1462, 52.9862)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FC2 #66C24F
analogous
#714FC2 #AB4FC2 #C24F9F
triadic
#AB4FC2 #C2AB4F #4FC2AB
tetradic
#AB4FC2 #C2714F #66C24F #4F9FC2
square
#AB4FC2 #C2714F #66C24F #4F9FC2
split-complementary
#AB4FC2 #9FC24F #4FC271
monochromatic
#612770 #89379D #AB4FC2 #C17CD2 #D6AAE2

Accessibility & contrast

On white

4.54
#AB4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AB4FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FC2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FC2#FFFFFF#000000##000000
##AB4FC21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3470C6
Deuteranopia (green-blind)
#5679BF
Tritanopia (blue-blind)
#AB6181
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4fc2;
/* rgb */ color: rgb(171, 79, 194);
/* oklch */ color: oklch(58.9% 0.188 319.2);
Tailwind
colors: {
  custom: {
    50: '#c785d5',
    500: '#ab4fc2',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fc2;
$custom-light: #c785d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fc2",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 288,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58948,
    "c": 0.18798,
    "h": 319.2
  },
  "luminance": 0.18145
}

Semantic roles & 50–950 ramp

primary
#AB4FC2
secondary
#A8CF9E
accent
#D8506B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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