#AB4FCD#AB4FCD

#AB4FCD is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.6% C 0.199 H 315.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AB4FCD
RGBrgb(171, 79, 205)
HSLhsl(284, 56%, 56%)
HSVhsv(284, 61%, 80%)
CMYKcmyk(16.6%, 61.5%, 0%, 19.6%)
CIE-LABlab(50.29, 57.00, -49.44)
CIE-LCHlch(50.29, 75.46, 319.06°)
OKLaboklab(59.59% 0.1425 -0.1385)
OKLCHoklch(59.59% 0.199 315.8)
XYZxyz(30.6083, 18.6587, 59.7349)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FCD #71CD4F
analogous
#6C4FCD #AB4FCD #CD4FB0
triadic
#AB4FCD #CDAB4F #4FCDAB
tetradic
#AB4FCD #CD6C4F #71CD4F #4FB0CD
square
#AB4FCD #CD6C4F #71CD4F #4FB0CD
split-complementary
#AB4FCD #B0CD4F #4FCD6C
monochromatic
#66247E #8C31AE #AB4FCD #C27FDB #D8AEE8

Accessibility & contrast

On white

4.44
#AB4FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AB4FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FCD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FCD#FFFFFF#000000##000000
##AB4FCD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2672D1
Deuteranopia (green-blind)
#4F7ACA
Tritanopia (blue-blind)
#A96587
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4fcd;
/* rgb */ color: rgb(171, 79, 205);
/* oklch */ color: oklch(59.6% 0.199 315.8);
Tailwind
colors: {
  custom: {
    50: '#c786dd',
    500: '#ab4fcd',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fcd;
$custom-light: #c786dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fcd",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 283.81,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59591,
    "c": 0.19875,
    "h": 315.8
  },
  "luminance": 0.18658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB4FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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