#AB43C7#AB43C7

#AB43C7 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.8% C 0.209 H 318.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AB43C7
RGBrgb(171, 67, 199)
HSLhsl(287, 54%, 52%)
HSVhsv(287, 66%, 78%)
CMYKcmyk(14.1%, 66.3%, 0%, 22%)
CIE-LABlab(48.00, 61.15, -49.63)
CIE-LCHlch(48.00, 78.76, 320.94°)
OKLaboklab(57.83% 0.1565 -0.139)
OKLCHoklch(57.83% 0.209 318.4)
XYZxyz(29.1091, 16.7970, 55.7306)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB43C7 #5FC743
analogous
#6943C7 #AB43C7 #C743A1
triadic
#AB43C7 #C7AB43 #43C7AB
tetradic
#AB43C7 #C76943 #5FC743 #43A1C7
square
#AB43C7 #C76943 #5FC743 #43A1C7
split-complementary
#AB43C7 #A1C743 #43C769
monochromatic
#5E216F #862F9E #AB43C7 #C072D5 #D5A1E3

Accessibility & contrast

On white

4.82
#AB43C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AB43C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB43C7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB43C7#FFFFFF#000000##FFFFFF
##AB43C71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6BCB
Deuteranopia (green-blind)
#4A75C4
Tritanopia (blue-blind)
#AB5B80
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab43c7;
/* rgb */ color: rgb(171, 67, 199);
/* oklch */ color: oklch(57.8% 0.209 318.4);
Tailwind
colors: {
  custom: {
    50: '#c77fd9',
    500: '#ab43c7',
    950: '#000000',
  },
}
SCSS
$custom: #ab43c7;
$custom-light: #c77fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab43c7",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 199
  },
  "hsl": {
    "h": 287.273,
    "s": 54.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57831,
    "c": 0.20934,
    "h": 318.4
  },
  "luminance": 0.16796
}

Semantic roles & 50–950 ramp

primary
#AB43C7
secondary
#A2D096
accent
#DD4A6A
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB43C7

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

Preview Lab → · Contrast checker → · Palette generator →

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