#AB35A8#AB35A8

#AB35A8 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.200 H 329.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AB35A8
RGBrgb(171, 53, 168)
HSLhsl(302, 53%, 44%)
HSVhsv(302, 69%, 67%)
CMYKcmyk(0%, 69%, 1.8%, 32.9%)
CIE-LABlab(44.28, 61.11, -37.40)
CIE-LCHlch(44.28, 71.64, 328.53°)
OKLaboklab(54.59% 0.1717 -0.1033)
OKLCHoklch(54.59% 0.2 329)
XYZxyz(25.1353, 14.0331, 38.4230)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35A8 #35AB38
analogous
#7335AB #AB35A8 #AB356D
triadic
#AB35A8 #A8AB35 #35A8AB
tetradic
#AB35A8 #AB7335 #35AB38 #356DAB
square
#AB35A8 #AB7335 #35AB38 #356DAB
split-complementary
#AB35A8 #6DAB35 #35AB73
monochromatic
#4E184C #7C277A #AB35A8 #CA53C7 #D882D6

Accessibility & contrast

On white

5.52
#AB35A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AB35A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35A8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35A8#FFFFFF#000000##FFFFFF
##AB35A81.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265FAB
Deuteranopia (green-blind)
#556EA5
Tritanopia (blue-blind)
#B1456A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab35a8;
/* rgb */ color: rgb(171, 53, 168);
/* oklch */ color: oklch(54.6% 0.200 329.0);
Tailwind
colors: {
  custom: {
    50: '#c777c2',
    500: '#ab35a8',
    950: '#000000',
  },
}
SCSS
$custom: #ab35a8;
$custom-light: #c777c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35a8",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 168
  },
  "hsl": {
    "h": 301.525,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54589,
    "c": 0.20039,
    "h": 329
  },
  "luminance": 0.14031
}

Semantic roles & 50–950 ramp

primary
#AB35A8
secondary
#7AC27C
accent
#DC4F4C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #AB35A8

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

Preview Lab → · Contrast checker → · Palette generator →

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