#AB35AC#AB35AC

#AB35AC is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.204 H 327.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AB35AC
RGBrgb(171, 53, 172)
HSLhsl(299, 53%, 44%)
HSVhsv(299, 69%, 67%)
CMYKcmyk(0.6%, 69.2%, 0%, 32.5%)
CIE-LABlab(44.50, 61.78, -39.43)
CIE-LCHlch(44.50, 73.29, 327.45°)
OKLaboklab(54.81% 0.1718 -0.1092)
OKLCHoklch(54.81% 0.204 327.6)
XYZxyz(25.5137, 14.1845, 40.4158)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35AC #36AC35
analogous
#7035AC #AB35AC #AC3572
triadic
#AB35AC #ACAB35 #35ACAB
tetradic
#AB35AC #AC7035 #36AC35 #3572AC
square
#AB35AC #AC7035 #36AC35 #3572AC
split-complementary
#AB35AC #72AC35 #35AC70
monochromatic
#4E184E #7C277D #AB35AC #C954CA #D883D9

Accessibility & contrast

On white

5.47
#AB35AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AB35AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35AC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35AC#FFFFFF#000000##FFFFFF
##AB35AC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAF
Deuteranopia (green-blind)
#536FA9
Tritanopia (blue-blind)
#B0466D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab35ac;
/* rgb */ color: rgb(171, 53, 172);
/* oklch */ color: oklch(54.8% 0.204 327.6);
Tailwind
colors: {
  custom: {
    50: '#c777c5',
    500: '#ab35ac',
    950: '#000000',
  },
}
SCSS
$custom: #ab35ac;
$custom-light: #c777c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35ac",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 299.496,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54814,
    "c": 0.20358,
    "h": 327.6
  },
  "luminance": 0.14183
}

Semantic roles & 50–950 ramp

primary
#AB35AC
secondary
#7BC27B
accent
#DC4C4D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #AB35AC

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

Preview Lab → · Contrast checker → · Palette generator →

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