#AB4CDA#AB4CDA

#AB4CDA is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.0% C 0.216 H 312.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB4CDA
RGBrgb(171, 76, 218)
HSLhsl(280, 66%, 58%)
HSVhsv(280, 65%, 85%)
CMYKcmyk(21.6%, 65.1%, 0%, 14.5%)
CIE-LABlab(50.56, 61.06, -56.43)
CIE-LCHlch(50.56, 83.14, 317.26°)
OKLaboklab(60.04% 0.1456 -0.159)
OKLCHoklch(60.04% 0.216 312.5)
XYZxyz(32.0317, 18.8896, 68.2748)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CDA #7BDA4C
analogous
#644CDA #AB4CDA #DA4CC2
triadic
#AB4CDA #DAAB4C #4CDAAB
tetradic
#AB4CDA #DA644C #7BDA4C #4CC2DA
square
#AB4CDA #DA644C #7BDA4C #4CC2DA
split-complementary
#AB4CDA #C2DA4C #4CDA64
monochromatic
#691D8E #8E28C1 #AB4CDA #C37FE4 #DBB1EF

Accessibility & contrast

On white

4.40
#AB4CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AB4CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4CDA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CDA#FFFFFF#000000##000000
##AB4CDA1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#407AD7
Tritanopia (blue-blind)
#A6688D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4cda;
/* rgb */ color: rgb(171, 76, 218);
/* oklch */ color: oklch(60.0% 0.216 312.5);
Tailwind
colors: {
  custom: {
    50: '#c884e6',
    500: '#ab4cda',
    950: '#000000',
  },
}
SCSS
$custom: #ab4cda;
$custom-light: #c884e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4cda",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 280.141,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60036,
    "c": 0.21561,
    "h": 312.5
  },
  "luminance": 0.18889
}

Semantic roles & 50–950 ramp

primary
#AB4CDA
secondary
#B7DDA4
accent
#E93F77
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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