#AB35B6#AB35B6

#AB35B6 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.212 H 324.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AB35B6
RGBrgb(171, 53, 182)
HSLhsl(295, 55%, 46%)
HSVhsv(295, 71%, 71%)
CMYKcmyk(6%, 70.9%, 0%, 28.6%)
CIE-LABlab(45.06, 63.50, -44.43)
CIE-LCHlch(45.06, 77.51, 325.02°)
OKLaboklab(55.4% 0.1718 -0.1237)
OKLCHoklch(55.4% 0.212 324.2)
XYZxyz(26.5105, 14.5832, 45.6654)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35B6 #40B635
analogous
#6A35B6 #AB35B6 #B63580
triadic
#AB35B6 #B6AB35 #35B6AB
tetradic
#AB35B6 #B66A35 #40B635 #3580B6
square
#AB35B6 #B66A35 #40B635 #3580B6
split-complementary
#AB35B6 #80B635 #35B66A
monochromatic
#521957 #7E2787 #AB35B6 #C559CF #D589DD

Accessibility & contrast

On white

5.36
#AB35B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AB35B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35B6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35B6#FFFFFF#000000##FFFFFF
##AB35B61.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C62BA
Deuteranopia (green-blind)
#4D6FB3
Tritanopia (blue-blind)
#AE4B72
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab35b6;
/* rgb */ color: rgb(171, 53, 182);
/* oklch */ color: oklch(55.4% 0.212 324.2);
Tailwind
colors: {
  custom: {
    50: '#c877cc',
    500: '#ab35b6',
    950: '#000000',
  },
}
SCSS
$custom: #ab35b6;
$custom-light: #c877cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35b6",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 294.884,
    "s": 54.894,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55398,
    "c": 0.21172,
    "h": 324.2
  },
  "luminance": 0.14582
}

Semantic roles & 50–950 ramp

primary
#AB35B6
secondary
#86C780
accent
#DE4A56
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AB35B6

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

Preview Lab → · Contrast checker → · Palette generator →

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