#AB35B4#AB35B4

#AB35B4 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.210 H 324.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AB35B4
RGBrgb(171, 53, 180)
HSLhsl(296, 55%, 46%)
HSVhsv(296, 71%, 71%)
CMYKcmyk(5%, 70.6%, 0%, 29.4%)
CIE-LABlab(44.94, 63.15, -43.44)
CIE-LCHlch(44.94, 76.65, 325.48°)
OKLaboklab(55.28% 0.1718 -0.1208)
OKLCHoklch(55.28% 0.21 324.9)
XYZxyz(26.3053, 14.5011, 44.5846)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35B4 #3EB435
analogous
#6B35B4 #AB35B4 #B4357D
triadic
#AB35B4 #B4AB35 #35B4AB
tetradic
#AB35B4 #B46B35 #3EB435 #357DB4
square
#AB35B4 #B46B35 #3EB435 #357DB4
split-complementary
#AB35B4 #7DB435 #35B46B
monochromatic
#511955 #7E2785 #AB35B4 #C658CE #D688DC

Accessibility & contrast

On white

5.38
#AB35B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AB35B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35B4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35B4#FFFFFF#000000##FFFFFF
##AB35B41.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1261B8
Deuteranopia (green-blind)
#4E6FB1
Tritanopia (blue-blind)
#AF4A71
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab35b4;
/* rgb */ color: rgb(171, 53, 180);
/* oklch */ color: oklch(55.3% 0.210 324.9);
Tailwind
colors: {
  custom: {
    50: '#c877cb',
    500: '#ab35b4',
    950: '#000000',
  },
}
SCSS
$custom: #ab35b4;
$custom-light: #c877cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35b4",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 295.748,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55279,
    "c": 0.21007,
    "h": 324.9
  },
  "luminance": 0.14499
}

Semantic roles & 50–950 ramp

primary
#AB35B4
secondary
#84C67F
accent
#DE4A54
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AB35B4

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

Preview Lab → · Contrast checker → · Palette generator →

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