#AB43D1#AB43D1

#AB43D1 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.5% C 0.219 H 315.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AB43D1
RGBrgb(171, 67, 209)
HSLhsl(284, 61%, 54%)
HSVhsv(284, 68%, 82%)
CMYKcmyk(18.2%, 67.9%, 0%, 18%)
CIE-LABlab(48.61, 63.12, -54.42)
CIE-LCHlch(48.61, 83.34, 319.23°)
OKLaboklab(58.46% 0.156 -0.153)
OKLCHoklch(58.46% 0.219 315.6)
XYZxyz(30.3085, 17.2768, 62.0475)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB43D1 #69D143
analogous
#6443D1 #AB43D1 #D143B0
triadic
#AB43D1 #D1AB43 #43D1AB
tetradic
#AB43D1 #D16443 #69D143 #43B0D1
square
#AB43D1 #D16443 #69D143 #43B0D1
split-complementary
#AB43D1 #B0D143 #43D164
monochromatic
#621E7B #8A2AAD #AB43D1 #C174DD #D7A5E9

Accessibility & contrast

On white

4.71
#AB43D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AB43D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB43D1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB43D1#FFFFFF#000000##FFFFFF
##AB43D11.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD5
Deuteranopia (green-blind)
#4176CE
Tritanopia (blue-blind)
#A85F85
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab43d1;
/* rgb */ color: rgb(171, 67, 209);
/* oklch */ color: oklch(58.5% 0.219 315.6);
Tailwind
colors: {
  custom: {
    50: '#c87fe0',
    500: '#ab43d1',
    950: '#000000',
  },
}
SCSS
$custom: #ab43d1;
$custom-light: #c87fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab43d1",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 209
  },
  "hsl": {
    "h": 283.944,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58457,
    "c": 0.21854,
    "h": 315.6
  },
  "luminance": 0.17276
}

Semantic roles & 50–950 ramp

primary
#AB43D1
secondary
#AAD69A
accent
#E4446F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB43D1

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

Preview Lab → · Contrast checker → · Palette generator →

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