#AB4ACE#AB4ACE

#AB4ACE is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.207 H 315.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AB4ACE
RGBrgb(171, 74, 206)
HSLhsl(284, 57%, 55%)
HSVhsv(284, 64%, 81%)
CMYKcmyk(17%, 64.1%, 0%, 19.2%)
CIE-LABlab(49.51, 59.49, -51.25)
CIE-LCHlch(49.51, 78.53, 319.26°)
OKLaboklab(59.05% 0.1484 -0.1438)
OKLCHoklch(59.05% 0.207 315.9)
XYZxyz(30.3822, 18.0128, 60.2570)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4ACE #6DCE4A
analogous
#694ACE #AB4ACE #CE4AAF
triadic
#AB4ACE #CEAB4A #4ACEAB
tetradic
#AB4ACE #CE694A #6DCE4A #4AAFCE
square
#AB4ACE #CE694A #6DCE4A #4AAFCE
split-complementary
#AB4ACE #AFCE4A #4ACE69
monochromatic
#64227C #8B2FAC #AB4ACE #C17ADB #D8AAE8

Accessibility & contrast

On white

4.56
#AB4ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AB4ACE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4ACE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4ACE#FFFFFF#000000##000000
##AB4ACE1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1570D2
Deuteranopia (green-blind)
#4A78CB
Tritanopia (blue-blind)
#A96286
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4ace;
/* rgb */ color: rgb(171, 74, 206);
/* oklch */ color: oklch(59.1% 0.207 315.9);
Tailwind
colors: {
  custom: {
    50: '#c783de',
    500: '#ab4ace',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ace;
$custom-light: #c783de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ace",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 206
  },
  "hsl": {
    "h": 284.091,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5905,
    "c": 0.20664,
    "h": 315.9
  },
  "luminance": 0.18012
}

Semantic roles & 50–950 ramp

primary
#AB4ACE
secondary
#ADD69E
accent
#E14770
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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