#AB43B7#AB43B7

#AB43B7 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.195 H 323.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AB43B7
RGBrgb(171, 67, 183)
HSLhsl(294, 46%, 49%)
HSVhsv(294, 63%, 72%)
CMYKcmyk(6.6%, 63.4%, 0%, 28.2%)
CIE-LABlab(47.10, 58.13, -41.78)
CIE-LCHlch(47.10, 71.58, 324.29°)
OKLaboklab(56.88% 0.1565 -0.1161)
OKLCHoklch(56.88% 0.195 323.4)
XYZxyz(27.3482, 16.0927, 46.4563)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB43B7 #4FB743
analogous
#7143B7 #AB43B7 #B74389
triadic
#AB43B7 #B7AB43 #43B7AB
tetradic
#AB43B7 #B77143 #4FB743 #4389B7
square
#AB43B7 #B77143 #4FB743 #4389B7
split-complementary
#AB43B7 #89B743 #43B771
monochromatic
#57225D #81338A #AB43B7 #C06DCA #D49ADA

Accessibility & contrast

On white

4.98
#AB43B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AB43B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB43B7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB43B7#FFFFFF#000000##FFFFFF
##AB43B71.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B68BA
Deuteranopia (green-blind)
#5574B4
Tritanopia (blue-blind)
#AE5577
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab43b7;
/* rgb */ color: rgb(171, 67, 183);
/* oklch */ color: oklch(56.9% 0.195 323.4);
Tailwind
colors: {
  custom: {
    50: '#c77ecd',
    500: '#ab43b7',
    950: '#000000',
  },
}
SCSS
$custom: #ab43b7;
$custom-light: #c77ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab43b7",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 183
  },
  "hsl": {
    "h": 293.793,
    "s": 46.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56883,
    "c": 0.19488,
    "h": 323.4
  },
  "luminance": 0.16091
}

Semantic roles & 50–950 ramp

primary
#AB43B7
secondary
#95C690
accent
#D6525F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB43B7

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

Preview Lab → · Contrast checker → · Palette generator →

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