#AB4ACF#AB4ACF

#AB4ACF is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.1% C 0.208 H 315.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AB4ACF
RGBrgb(171, 74, 207)
HSLhsl(284, 58%, 55%)
HSVhsv(284, 64%, 81%)
CMYKcmyk(17.4%, 64.3%, 0%, 18.8%)
CIE-LABlab(49.57, 59.70, -51.73)
CIE-LCHlch(49.57, 78.99, 319.09°)
OKLaboklab(59.11% 0.1484 -0.1452)
OKLCHoklch(59.11% 0.208 315.6)
XYZxyz(30.5041, 18.0616, 60.8988)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4ACF #6ECF4A
analogous
#684ACF #AB4ACF #CF4AB1
triadic
#AB4ACF #CFAB4A #4ACFAB
tetradic
#AB4ACF #CF684A #6ECF4A #4AB1CF
square
#AB4ACF #CF684A #6ECF4A #4AB1CF
split-complementary
#AB4ACF #B1CF4A #4ACF68
monochromatic
#64217D #8B2EAE #AB4ACF #C17ADC #D8ABE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4ACF#FFFFFF#000000##000000
##AB4ACF1.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)
#1270D3
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#A96386
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4acf;
/* rgb */ color: rgb(171, 74, 207);
/* oklch */ color: oklch(59.1% 0.208 315.6);
Tailwind
colors: {
  custom: {
    50: '#c783de',
    500: '#ab4acf',
    950: '#000000',
  },
}
SCSS
$custom: #ab4acf;
$custom-light: #c783de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4acf",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 207
  },
  "hsl": {
    "h": 283.759,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59112,
    "c": 0.2076,
    "h": 315.6
  },
  "luminance": 0.1806
}

Semantic roles & 50–950 ramp

primary
#AB4ACF
secondary
#AED69F
accent
#E14670
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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