#AB4ECD#AB4ECD

#AB4ECD is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.5% C 0.200 H 315.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AB4ECD
RGBrgb(171, 78, 205)
HSLhsl(284, 56%, 55%)
HSVhsv(284, 62%, 80%)
CMYKcmyk(16.6%, 62%, 0%, 19.6%)
CIE-LABlab(50.12, 57.47, -49.71)
CIE-LCHlch(50.12, 75.99, 319.14°)
OKLaboklab(59.47% 0.1437 -0.1393)
OKLCHoklch(59.47% 0.2 315.9)
XYZxyz(30.5367, 18.5156, 59.7111)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4ECD #70CD4E
analogous
#6B4ECD #AB4ECD #CD4EAF
triadic
#AB4ECD #CDAB4E #4ECDAB
tetradic
#AB4ECD #CD6B4E #70CD4E #4EAFCD
square
#AB4ECD #CD6B4E #70CD4E #4EAFCD
split-complementary
#AB4ECD #AFCD4E #4ECD6B
monochromatic
#65237D #8C31AD #AB4ECD #C27EDA #D8ADE8

Accessibility & contrast

On white

4.47
#AB4ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AB4ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4ECD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4ECD#FFFFFF#000000##000000
##AB4ECD1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2372D1
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#A96586
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4ecd;
/* rgb */ color: rgb(171, 78, 205);
/* oklch */ color: oklch(59.5% 0.200 315.9);
Tailwind
colors: {
  custom: {
    50: '#c785dd',
    500: '#ab4ecd',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ecd;
$custom-light: #c785dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ecd",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 283.937,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.20015,
    "h": 315.9
  },
  "luminance": 0.18514
}

Semantic roles & 50–950 ramp

primary
#AB4ECD
secondary
#AFD6A1
accent
#DF4971
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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