#AB43D8#AB43D8

#AB43D8 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.9% C 0.225 H 313.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AB43D8
RGBrgb(171, 67, 216)
HSLhsl(282, 66%, 55%)
HSVhsv(282, 69%, 85%)
CMYKcmyk(20.8%, 69%, 0%, 15.3%)
CIE-LABlab(49.05, 64.52, -57.72)
CIE-LCHlch(49.05, 86.57, 318.18°)
OKLaboklab(58.91% 0.1555 -0.1627)
OKLCHoklch(58.91% 0.225 313.7)
XYZxyz(31.1943, 17.6311, 66.7123)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB43D8 #70D843
analogous
#6043D8 #AB43D8 #D843BB
triadic
#AB43D8 #D8AB43 #43D8AB
tetradic
#AB43D8 #D86043 #70D843 #43BBD8
square
#AB43D8 #D86043 #70D843 #43BBD8
split-complementary
#AB43D8 #BBD843 #43D860
monochromatic
#651C85 #8C26B8 #AB43D8 #C276E3 #D8A8ED

Accessibility & contrast

On white

4.64
#AB43D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AB43D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB43D8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB43D8#FFFFFF#000000##FFFFFF
##AB43D81.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#3977D5
Tritanopia (blue-blind)
#A76289
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab43d8;
/* rgb */ color: rgb(171, 67, 216);
/* oklch */ color: oklch(58.9% 0.225 313.7);
Tailwind
colors: {
  custom: {
    50: '#c87fe5',
    500: '#ab43d8',
    950: '#000000',
  },
}
SCSS
$custom: #ab43d8;
$custom-light: #c87fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab43d8",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 216
  },
  "hsl": {
    "h": 281.879,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58911,
    "c": 0.22504,
    "h": 313.7
  },
  "luminance": 0.1763
}

Semantic roles & 50–950 ramp

primary
#AB43D8
secondary
#AFDA9C
accent
#E93F72
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB43D8

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

Preview Lab → · Contrast checker → · Palette generator →

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