#AB4DDA#AB4DDA

#AB4DDA is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.2% C 0.214 H 312.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AB4DDA
RGBrgb(171, 77, 218)
HSLhsl(280, 66%, 58%)
HSVhsv(280, 65%, 85%)
CMYKcmyk(21.6%, 64.7%, 0%, 14.5%)
CIE-LABlab(50.72, 60.61, -56.17)
CIE-LCHlch(50.72, 82.64, 317.18°)
OKLaboklab(60.15% 0.1445 -0.1582)
OKLCHoklch(60.15% 0.214 312.4)
XYZxyz(32.1011, 19.0285, 68.2979)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DDA #7CDA4D
analogous
#644DDA #AB4DDA #DA4DC2
triadic
#AB4DDA #DAAB4D #4DDAAB
tetradic
#AB4DDA #DA644D #7CDA4D #4DC2DA
square
#AB4DDA #DA644D #7CDA4D #4DC2DA
split-complementary
#AB4DDA #C2DA4D #4DDA64
monochromatic
#691E8F #8E28C2 #AB4DDA #C380E5 #DBB2EF

Accessibility & contrast

On white

4.37
#AB4DDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AB4DDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DDA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DDA#FFFFFF#000000##000000
##AB4DDA1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#417BD7
Tritanopia (blue-blind)
#A6698D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4dda;
/* rgb */ color: rgb(171, 77, 218);
/* oklch */ color: oklch(60.2% 0.214 312.4);
Tailwind
colors: {
  custom: {
    50: '#c885e6',
    500: '#ab4dda',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dda;
$custom-light: #c885e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dda",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 218
  },
  "hsl": {
    "h": 280,
    "s": 65.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60153,
    "c": 0.21429,
    "h": 312.4
  },
  "luminance": 0.19028
}

Semantic roles & 50–950 ramp

primary
#AB4DDA
secondary
#B8DEA5
accent
#E93F78
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4DDA

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

Preview Lab → · Contrast checker → · Palette generator →

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