#AB4DD7#AB4DD7

#AB4DD7 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.0% C 0.211 H 313.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB4DD7
RGBrgb(171, 77, 215)
HSLhsl(281, 63%, 57%)
HSVhsv(281, 64%, 84%)
CMYKcmyk(20.5%, 64.2%, 0%, 15.7%)
CIE-LABlab(50.54, 59.99, -54.75)
CIE-LCHlch(50.54, 81.22, 317.61°)
OKLaboklab(59.96% 0.1447 -0.1541)
OKLCHoklch(59.96% 0.211 313.2)
XYZxyz(31.7121, 18.8729, 66.2491)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DD7 #79D74D
analogous
#664DD7 #AB4DD7 #D74DBE
triadic
#AB4DD7 #D7AB4D #4DD7AB
tetradic
#AB4DD7 #D7664D #79D74D #4DBED7
square
#AB4DD7 #D7664D #79D74D #4DBED7
split-complementary
#AB4DD7 #BED74D #4DD766
monochromatic
#681F8A #8E2ABC #AB4DD7 #C37FE2 #DAB1ED

Accessibility & contrast

On white

4.40
#AB4DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AB4DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DD7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DD7#FFFFFF#000000##000000
##AB4DD71.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0373DB
Deuteranopia (green-blind)
#447AD4
Tritanopia (blue-blind)
#A7688B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4dd7;
/* rgb */ color: rgb(171, 77, 215);
/* oklch */ color: oklch(60.0% 0.211 313.2);
Tailwind
colors: {
  custom: {
    50: '#c885e4',
    500: '#ab4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dd7;
$custom-light: #c885e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dd7",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 280.87,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59963,
    "c": 0.21134,
    "h": 313.2
  },
  "luminance": 0.18872
}

Semantic roles & 50–950 ramp

primary
#AB4DD7
secondary
#B6DCA4
accent
#E64176
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #AB4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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