#AB4FD9#AB4FD9

#AB4FD9 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.3% C 0.211 H 312.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AB4FD9
RGBrgb(171, 79, 217)
HSLhsl(280, 64%, 58%)
HSVhsv(280, 64%, 85%)
CMYKcmyk(21.2%, 63.6%, 0%, 14.9%)
CIE-LABlab(50.99, 59.49, -55.17)
CIE-LCHlch(50.99, 81.13, 317.16°)
OKLaboklab(60.33% 0.1423 -0.1553)
OKLCHoklch(60.33% 0.211 312.5)
XYZxyz(32.1127, 19.2605, 67.6582)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FD9 #7DD94F
analogous
#664FD9 #AB4FD9 #D94FC2
triadic
#AB4FD9 #D9AB4F #4FD9AB
tetradic
#AB4FD9 #D9664F #7DD94F #4FC2D9
square
#AB4FD9 #D9664F #7DD94F #4FC2D9
split-complementary
#AB4FD9 #C2D94F #4FD966
monochromatic
#691F8F #8F2AC1 #AB4FD9 #C381E4 #DBB4EF

Accessibility & contrast

On white

4.33
#AB4FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AB4FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FD9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FD9#FFFFFF#000000##000000
##AB4FD91.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0775DD
Deuteranopia (green-blind)
#457BD6
Tritanopia (blue-blind)
#A66A8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4fd9;
/* rgb */ color: rgb(171, 79, 217);
/* oklch */ color: oklch(60.3% 0.211 312.5);
Tailwind
colors: {
  custom: {
    50: '#c886e5',
    500: '#ab4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fd9;
$custom-light: #c886e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fd9",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 280,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.21062,
    "h": 312.5
  },
  "luminance": 0.1926
}

Semantic roles & 50–950 ramp

primary
#AB4FD9
secondary
#B9DDA6
accent
#E74078
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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