#AB4ACD#AB4ACD

#AB4ACD is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.0% C 0.206 H 316.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AB4ACD
RGBrgb(171, 74, 205)
HSLhsl(284, 57%, 55%)
HSVhsv(284, 64%, 80%)
CMYKcmyk(16.6%, 63.9%, 0%, 19.6%)
CIE-LABlab(49.45, 59.29, -50.77)
CIE-LCHlch(49.45, 78.06, 319.43°)
OKLaboklab(58.99% 0.1484 -0.1424)
OKLCHoklch(58.99% 0.206 316.2)
XYZxyz(30.2611, 17.9644, 59.6192)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4ACD #6CCD4A
analogous
#694ACD #AB4ACD #CD4AAE
triadic
#AB4ACD #CDAB4A #4ACDAB
tetradic
#AB4ACD #CD694A #6CCD4A #4AAECD
square
#AB4ACD #CD694A #6CCD4A #4AAECD
split-complementary
#AB4ACD #AECD4A #4ACD69
monochromatic
#64227B #8B2FAB #AB4ACD #C17ADA #D8AAE7

Accessibility & contrast

On white

4.57
#AB4ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AB4ACD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4ACD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4ACD#FFFFFF#000000##000000
##AB4ACD1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1870D1
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#A96285
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4acd;
/* rgb */ color: rgb(171, 74, 205);
/* oklch */ color: oklch(59.0% 0.206 316.2);
Tailwind
colors: {
  custom: {
    50: '#c783dd',
    500: '#ab4acd',
    950: '#000000',
  },
}
SCSS
$custom: #ab4acd;
$custom-light: #c783dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4acd",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 205
  },
  "hsl": {
    "h": 284.427,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58989,
    "c": 0.20568,
    "h": 316.2
  },
  "luminance": 0.17963
}

Semantic roles & 50–950 ramp

primary
#AB4ACD
secondary
#ACD59E
accent
#E0486F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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