#AB4ACA#AB4ACA

#AB4ACA is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 58.8% C 0.203 H 317.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AB4ACA
RGBrgb(171, 74, 202)
HSLhsl(285, 55%, 54%)
HSVhsv(285, 63%, 79%)
CMYKcmyk(15.3%, 63.4%, 0%, 20.8%)
CIE-LABlab(49.28, 58.69, -49.33)
CIE-LCHlch(49.28, 76.67, 319.96°)
OKLaboklab(58.81% 0.1485 -0.1382)
OKLCHoklch(58.81% 0.203 317.1)
XYZxyz(29.9025, 17.8209, 57.7303)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4ACA #69CA4A
analogous
#6B4ACA #AB4ACA #CA4AA9
triadic
#AB4ACA #CAAB4A #4ACAAB
tetradic
#AB4ACA #CA6B4A #69CA4A #4AA9CA
square
#AB4ACA #CA6B4A #69CA4A #4AA9CA
split-complementary
#AB4ACA #A9CA4A #4ACA6B
monochromatic
#622377 #8A31A6 #AB4ACA #C179D8 #D7A9E6

Accessibility & contrast

On white

4.60
#AB4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AB4ACA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4ACA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4ACA#FFFFFF#000000##FFFFFF
##AB4ACA1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCE
Deuteranopia (green-blind)
#4D78C7
Tritanopia (blue-blind)
#AA6183
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4aca;
/* rgb */ color: rgb(171, 74, 202);
/* oklch */ color: oklch(58.8% 0.203 317.1);
Tailwind
colors: {
  custom: {
    50: '#c783db',
    500: '#ab4aca',
    950: '#000000',
  },
}
SCSS
$custom: #ab4aca;
$custom-light: #c783db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4aca",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 285.469,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58806,
    "c": 0.20281,
    "h": 317.1
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#AB4ACA
secondary
#AAD39D
accent
#DE4A6E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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