#AB4CD0#AB4CD0

#AB4CD0 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.4% C 0.206 H 315.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AB4CD0
RGBrgb(171, 76, 208)
HSLhsl(283, 58%, 56%)
HSVhsv(283, 63%, 82%)
CMYKcmyk(17.8%, 63.5%, 0%, 18.4%)
CIE-LABlab(49.96, 59.00, -51.69)
CIE-LCHlch(49.96, 78.44, 318.78°)
OKLaboklab(59.41% 0.146 -0.1451)
OKLCHoklch(59.41% 0.206 315.2)
XYZxyz(30.7624, 18.3819, 61.5899)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CD0 #71D04C
analogous
#694CD0 #AB4CD0 #D04CB3
triadic
#AB4CD0 #D0AB4C #4CD0AB
tetradic
#AB4CD0 #D0694C #71D04C #4CB3D0
square
#AB4CD0 #D0694C #71D04C #4CB3D0
split-complementary
#AB4CD0 #B3D04C #4CD069
monochromatic
#662280 #8C2EB0 #AB4CD0 #C27CDD #D8ADE9

Accessibility & contrast

On white

4.49
#AB4CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AB4CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4CD0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CD0#FFFFFF#000000##000000
##AB4CD01.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1871D4
Deuteranopia (green-blind)
#4A79CD
Tritanopia (blue-blind)
#A86487
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4cd0;
/* rgb */ color: rgb(171, 76, 208);
/* oklch */ color: oklch(59.4% 0.206 315.2);
Tailwind
colors: {
  custom: {
    50: '#c784df',
    500: '#ab4cd0',
    950: '#000000',
  },
}
SCSS
$custom: #ab4cd0;
$custom-light: #c784df;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4cd0",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 283.182,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59409,
    "c": 0.20585,
    "h": 315.2
  },
  "luminance": 0.18381
}

Semantic roles & 50–950 ramp

primary
#AB4CD0
secondary
#B0D7A0
accent
#E24672
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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