#AB35B1#AB35B1

#AB35B1 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.208 H 325.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AB35B1
RGBrgb(171, 53, 177)
HSLhsl(297, 54%, 45%)
HSVhsv(297, 70%, 69%)
CMYKcmyk(3.4%, 70.1%, 0%, 30.6%)
CIE-LABlab(44.77, 62.63, -41.94)
CIE-LCHlch(44.77, 75.38, 326.19°)
OKLaboklab(55.1% 0.1719 -0.1165)
OKLCHoklch(55.1% 0.208 325.9)
XYZxyz(26.0030, 14.3802, 42.9925)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35B1 #3BB135
analogous
#6D35B1 #AB35B1 #B13579
triadic
#AB35B1 #B1AB35 #35B1AB
tetradic
#AB35B1 #B16D35 #3BB135 #3579B1
square
#AB35B1 #B16D35 #3BB135 #3579B1
split-complementary
#AB35B1 #79B135 #35B16D
monochromatic
#501953 #7D2782 #AB35B1 #C757CD #D786DB

Accessibility & contrast

On white

5.42
#AB35B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AB35B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35B1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35B1#FFFFFF#000000##FFFFFF
##AB35B11.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1860B4
Deuteranopia (green-blind)
#506FAE
Tritanopia (blue-blind)
#AF496F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab35b1;
/* rgb */ color: rgb(171, 53, 177);
/* oklch */ color: oklch(55.1% 0.208 325.9);
Tailwind
colors: {
  custom: {
    50: '#c877c9',
    500: '#ab35b1',
    950: '#000000',
  },
}
SCSS
$custom: #ab35b1;
$custom-light: #c877c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35b1",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 297.097,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55103,
    "c": 0.20762,
    "h": 325.9
  },
  "luminance": 0.14378
}

Semantic roles & 50–950 ramp

primary
#AB35B1
secondary
#81C47D
accent
#DD4B52
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB35B1

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

Preview Lab → · Contrast checker → · Palette generator →

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