#AB35A4#AB35A4

#AB35A4 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.4% C 0.197 H 330.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AB35A4
RGBrgb(171, 53, 164)
HSLhsl(304, 53%, 44%)
HSVhsv(304, 69%, 67%)
CMYKcmyk(0%, 69%, 4.1%, 32.9%)
CIE-LABlab(44.07, 60.45, -35.35)
CIE-LCHlch(44.07, 70.03, 329.68°)
OKLaboklab(54.37% 0.1715 -0.0974)
OKLCHoklch(54.37% 0.197 330.4)
XYZxyz(24.7684, 13.8863, 36.4906)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35A4 #35AB3C
analogous
#7735AB #AB35A4 #AB3569
triadic
#AB35A4 #A4AB35 #35A4AB
tetradic
#AB35A4 #AB7735 #35AB3C #3569AB
square
#AB35A4 #AB7735 #35AB3C #3569AB
split-complementary
#AB35A4 #69AB35 #35AB77
monochromatic
#4E184A #7C2777 #AB35A4 #CA53C3 #D882D3

Accessibility & contrast

On white

5.56
#AB35A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AB35A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35A4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35A4#FFFFFF#000000##FFFFFF
##AB35A41.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA7
Deuteranopia (green-blind)
#576EA1
Tritanopia (blue-blind)
#B14368
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab35a4;
/* rgb */ color: rgb(171, 53, 164);
/* oklch */ color: oklch(54.4% 0.197 330.4);
Tailwind
colors: {
  custom: {
    50: '#c777bf',
    500: '#ab35a4',
    950: '#000000',
  },
}
SCSS
$custom: #ab35a4;
$custom-light: #c777bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35a4",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 303.559,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54369,
    "c": 0.19724,
    "h": 330.4
  },
  "luminance": 0.13884
}

Semantic roles & 50–950 ramp

primary
#AB35A4
secondary
#7AC27E
accent
#DC544C
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AB35A4

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

Preview Lab → · Contrast checker → · Palette generator →

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