#AB43D7#AB43D7

#AB43D7 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.8% C 0.224 H 314.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AB43D7
RGBrgb(171, 67, 215)
HSLhsl(282, 65%, 55%)
HSVhsv(282, 69%, 84%)
CMYKcmyk(20.5%, 68.8%, 0%, 15.7%)
CIE-LABlab(48.98, 64.32, -57.25)
CIE-LCHlch(48.98, 86.11, 318.33°)
OKLaboklab(58.85% 0.1556 -0.1613)
OKLCHoklch(58.85% 0.224 314)
XYZxyz(31.0654, 17.5795, 66.0336)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB43D7 #6FD743
analogous
#6143D7 #AB43D7 #D743B9
triadic
#AB43D7 #D7AB43 #43D7AB
tetradic
#AB43D7 #D76143 #6FD743 #43B9D7
square
#AB43D7 #D76143 #6FD743 #43B9D7
split-complementary
#AB43D7 #B9D743 #43D761
monochromatic
#651C84 #8B27B6 #AB43D7 #C275E2 #D8A8EC

Accessibility & contrast

On white

4.65
#AB43D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AB43D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB43D7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB43D7#FFFFFF#000000##FFFFFF
##AB43D71.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#3A77D4
Tritanopia (blue-blind)
#A76188
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab43d7;
/* rgb */ color: rgb(171, 67, 215);
/* oklch */ color: oklch(58.8% 0.224 314.0);
Tailwind
colors: {
  custom: {
    50: '#c87fe4',
    500: '#ab43d7',
    950: '#000000',
  },
}
SCSS
$custom: #ab43d7;
$custom-light: #c87fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab43d7",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 215
  },
  "hsl": {
    "h": 282.162,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58846,
    "c": 0.22411,
    "h": 314
  },
  "luminance": 0.17579
}

Semantic roles & 50–950 ramp

primary
#AB43D7
secondary
#AEDA9C
accent
#E84072
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB43D7

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

Preview Lab → · Contrast checker → · Palette generator →

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