#AB4FD6#AB4FD6

#AB4FD6 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.1% C 0.208 H 313.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AB4FD6
RGBrgb(171, 79, 214)
HSLhsl(281, 62%, 57%)
HSVhsv(281, 63%, 84%)
CMYKcmyk(20.1%, 63.1%, 0%, 16.1%)
CIE-LABlab(50.81, 58.86, -53.75)
CIE-LCHlch(50.81, 79.71, 317.60°)
OKLaboklab(60.14% 0.1424 -0.1511)
OKLCHoklch(60.14% 0.208 313.3)
XYZxyz(31.7261, 19.1058, 65.6218)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FD6 #7AD64F
analogous
#684FD6 #AB4FD6 #D64FBD
triadic
#AB4FD6 #D6AB4F #4FD6AB
tetradic
#AB4FD6 #D6684F #7AD64F #4FBDD6
square
#AB4FD6 #D6684F #7AD64F #4FBDD6
split-complementary
#AB4FD6 #BDD64F #4FD668
monochromatic
#69208A #8E2CBC #AB4FD6 #C381E2 #DAB2ED

Accessibility & contrast

On white

4.36
#AB4FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AB4FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FD6
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FD6#FFFFFF#000000##000000
##AB4FD61.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1374DA
Deuteranopia (green-blind)
#477BD3
Tritanopia (blue-blind)
#A7698C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4fd6;
/* rgb */ color: rgb(171, 79, 214);
/* oklch */ color: oklch(60.1% 0.208 313.3);
Tailwind
colors: {
  custom: {
    50: '#c886e3',
    500: '#ab4fd6',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fd6;
$custom-light: #c886e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fd6",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 280.889,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60141,
    "c": 0.20764,
    "h": 313.3
  },
  "luminance": 0.19105
}

Semantic roles & 50–950 ramp

primary
#AB4FD6
secondary
#B7DCA5
accent
#E54376
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #AB4FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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