#AB4ADD#AB4ADD

#AB4ADD is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.0% C 0.221 H 311.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AB4ADD
RGBrgb(171, 74, 221)
HSLhsl(280, 68%, 58%)
HSVhsv(280, 67%, 87%)
CMYKcmyk(22.6%, 66.5%, 0%, 13.3%)
CIE-LABlab(50.42, 62.58, -58.35)
CIE-LCHlch(50.42, 85.56, 317.00°)
OKLaboklab(60% 0.1476 -0.1646)
OKLCHoklch(60% 0.221 311.9)
XYZxyz(32.2921, 18.7768, 70.3158)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4ADD #7CDD4A
analogous
#614ADD #AB4ADD #DD4AC5
triadic
#AB4ADD #DDAB4A #4ADDAB
tetradic
#AB4ADD #DD614A #7CDD4A #4AC5DD
square
#AB4ADD #DD614A #7CDD4A #4AC5DD
split-complementary
#AB4ADD #C5DD4A #4ADD61
monochromatic
#691B91 #8E25C5 #AB4ADD #C37EE7 #DBB1F0

Accessibility & contrast

On white

4.42
#AB4ADD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AB4ADD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4ADD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4ADD#FFFFFF#000000##000000
##AB4ADD1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#3B7ADA
Tritanopia (blue-blind)
#A5688E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4add;
/* rgb */ color: rgb(171, 74, 221);
/* oklch */ color: oklch(60.0% 0.221 311.9);
Tailwind
colors: {
  custom: {
    50: '#c883e8',
    500: '#ab4add',
    950: '#000000',
  },
}
SCSS
$custom: #ab4add;
$custom-light: #c883e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4add",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 221
  },
  "hsl": {
    "h": 279.592,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6,
    "c": 0.22111,
    "h": 311.9
  },
  "luminance": 0.18776
}

Semantic roles & 50–950 ramp

primary
#AB4ADD
secondary
#B8DFA4
accent
#EB3D78
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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