#AB4DD9#AB4DD9

#AB4DD9 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.1% C 0.213 H 312.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AB4DD9
RGBrgb(171, 77, 217)
HSLhsl(280, 65%, 58%)
HSVhsv(280, 65%, 85%)
CMYKcmyk(21.2%, 64.5%, 0%, 14.9%)
CIE-LABlab(50.66, 60.40, -55.70)
CIE-LCHlch(50.66, 82.16, 317.32°)
OKLaboklab(60.09% 0.1446 -0.1568)
OKLCHoklch(60.09% 0.213 312.7)
XYZxyz(31.9706, 18.9763, 67.6108)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DD9 #7BD94D
analogous
#654DD9 #AB4DD9 #D94DC1
triadic
#AB4DD9 #D9AB4D #4DD9AB
tetradic
#AB4DD9 #D9654D #7BD94D #4DC1D9
square
#AB4DD9 #D9654D #7BD94D #4DC1D9
split-complementary
#AB4DD9 #C1D94D #4DD965
monochromatic
#691E8D #8E29C0 #AB4DD9 #C37FE4 #DBB2EF

Accessibility & contrast

On white

4.38
#AB4DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AB4DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DD9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DD9#FFFFFF#000000##000000
##AB4DD91.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#427BD6
Tritanopia (blue-blind)
#A6688C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4dd9;
/* rgb */ color: rgb(171, 77, 217);
/* oklch */ color: oklch(60.1% 0.213 312.7);
Tailwind
colors: {
  custom: {
    50: '#c885e5',
    500: '#ab4dd9',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dd9;
$custom-light: #c885e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dd9",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 280.286,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60089,
    "c": 0.21331,
    "h": 312.7
  },
  "luminance": 0.18975
}

Semantic roles & 50–950 ramp

primary
#AB4DD9
secondary
#B7DDA5
accent
#E84077
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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