#AB35A2#AB35A2

#AB35A2 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.3% C 0.196 H 331.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AB35A2
RGBrgb(171, 53, 162)
HSLhsl(305, 53%, 44%)
HSVhsv(305, 69%, 67%)
CMYKcmyk(0%, 69%, 5.3%, 32.9%)
CIE-LABlab(43.97, 60.12, -34.32)
CIE-LCHlch(43.97, 69.23, 330.28°)
OKLaboklab(54.26% 0.1714 -0.0944)
OKLCHoklch(54.26% 0.196 331.2)
XYZxyz(24.5892, 13.8147, 35.5468)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35A2 #35AB3E
analogous
#7935AB #AB35A2 #AB3567
triadic
#AB35A2 #A2AB35 #35A2AB
tetradic
#AB35A2 #AB7935 #35AB3E #3567AB
square
#AB35A2 #AB7935 #35AB3E #3567AB
split-complementary
#AB35A2 #67AB35 #35AB79
monochromatic
#4E1849 #7C2776 #AB35A2 #CA53C1 #D882D2

Accessibility & contrast

On white

5.58
#AB35A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AB35A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35A2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35A2#FFFFFF#000000##FFFFFF
##AB35A21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#586E9F
Tritanopia (blue-blind)
#B24267
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab35a2;
/* rgb */ color: rgb(171, 53, 162);
/* oklch */ color: oklch(54.3% 0.196 331.2);
Tailwind
colors: {
  custom: {
    50: '#c777be',
    500: '#ab35a2',
    950: '#000000',
  },
}
SCSS
$custom: #ab35a2;
$custom-light: #c777be;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35a2",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 304.576,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54261,
    "c": 0.19569,
    "h": 331.2
  },
  "luminance": 0.13813
}

Semantic roles & 50–950 ramp

primary
#AB35A2
secondary
#7AC280
accent
#DC574C
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AB35A2

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

Preview Lab → · Contrast checker → · Palette generator →

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