#AB43AF#AB43AF

#AB43AF is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.4% C 0.188 H 326.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AB43AF
RGBrgb(171, 67, 175)
HSLhsl(298, 45%, 47%)
HSVhsv(298, 62%, 69%)
CMYKcmyk(2.3%, 61.7%, 0%, 31.4%)
CIE-LABlab(46.67, 56.67, -37.76)
CIE-LCHlch(46.67, 68.10, 326.32°)
OKLaboklab(56.44% 0.1561 -0.1045)
OKLCHoklch(56.44% 0.188 326.2)
XYZxyz(26.5391, 15.7690, 42.1950)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB43AF #47AF43
analogous
#7543AF #AB43AF #AF437D
triadic
#AB43AF #AFAB43 #43AFAB
tetradic
#AB43AF #AF7543 #47AF43 #437DAF
square
#AB43AF #AF7543 #47AF43 #437DAF
split-complementary
#AB43AF #7DAF43 #43AF75
monochromatic
#552156 #803283 #AB43AF #C269C6 #D496D7

Accessibility & contrast

On white

5.06
#AB43AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AB43AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB43AF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB43AF#FFFFFF#000000##FFFFFF
##AB43AF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#AF5273
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab43af;
/* rgb */ color: rgb(171, 67, 175);
/* oklch */ color: oklch(56.4% 0.188 326.2);
Tailwind
colors: {
  custom: {
    50: '#c77ec7',
    500: '#ab43af',
    950: '#000000',
  },
}
SCSS
$custom: #ab43af;
$custom-light: #c77ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab43af",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 297.778,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56437,
    "c": 0.18786,
    "h": 326.2
  },
  "luminance": 0.15767
}

Semantic roles & 50–950 ramp

primary
#AB43AF
secondary
#8DC28B
accent
#D45358
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB43AF

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

Preview Lab → · Contrast checker → · Palette generator →

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