#AB4FD7#AB4FD7

#AB4FD7 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.2% C 0.209 H 313.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AB4FD7
RGBrgb(171, 79, 215)
HSLhsl(281, 63%, 58%)
HSVhsv(281, 63%, 84%)
CMYKcmyk(20.5%, 63.3%, 0%, 15.7%)
CIE-LABlab(50.87, 59.07, -54.22)
CIE-LCHlch(50.87, 80.18, 317.45°)
OKLaboklab(60.2% 0.1424 -0.1525)
OKLCHoklch(60.2% 0.209 313)
XYZxyz(31.8542, 19.1571, 66.2965)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FD7 #7BD74F
analogous
#674FD7 #AB4FD7 #D74FBF
triadic
#AB4FD7 #D7AB4F #4FD7AB
tetradic
#AB4FD7 #D7674F #7BD74F #4FBFD7
square
#AB4FD7 #D7674F #7BD74F #4FBFD7
split-complementary
#AB4FD7 #BFD74F #4FD767
monochromatic
#69208C #8E2BBE #AB4FD7 #C381E2 #DBB3EE

Accessibility & contrast

On white

4.35
#AB4FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AB4FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FD7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FD7#FFFFFF#000000##000000
##AB4FD71.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1074DB
Deuteranopia (green-blind)
#467BD4
Tritanopia (blue-blind)
#A6698C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4fd7;
/* rgb */ color: rgb(171, 79, 215);
/* oklch */ color: oklch(60.2% 0.209 313.0);
Tailwind
colors: {
  custom: {
    50: '#c886e4',
    500: '#ab4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fd7;
$custom-light: #c886e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fd7",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 280.588,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60203,
    "c": 0.20863,
    "h": 313
  },
  "luminance": 0.19156
}

Semantic roles & 50–950 ramp

primary
#AB4FD7
secondary
#B7DCA6
accent
#E64277
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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