#AB35B8#AB35B8

#AB35B8 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.213 H 323.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AB35B8
RGBrgb(171, 53, 184)
HSLhsl(294, 55%, 46%)
HSVhsv(294, 71%, 72%)
CMYKcmyk(7.1%, 71.2%, 0%, 27.8%)
CIE-LABlab(45.17, 63.86, -45.42)
CIE-LCHlch(45.17, 78.36, 324.58°)
OKLaboklab(55.52% 0.1717 -0.1266)
OKLCHoklch(55.52% 0.213 323.6)
XYZxyz(26.7186, 14.6664, 46.7617)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35B8 #42B835
analogous
#6A35B8 #AB35B8 #B83584
triadic
#AB35B8 #B8AB35 #35B8AB
tetradic
#AB35B8 #B86A35 #42B835 #3584B8
square
#AB35B8 #B86A35 #42B835 #3584B8
split-complementary
#AB35B8 #84B835 #35B86A
monochromatic
#531A59 #7F2788 #AB35B8 #C45BD0 #D58ADD

Accessibility & contrast

On white

5.34
#AB35B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AB35B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35B8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35B8#FFFFFF#000000##FFFFFF
##AB35B81.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0462BC
Deuteranopia (green-blind)
#4B70B5
Tritanopia (blue-blind)
#AE4C73
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab35b8;
/* rgb */ color: rgb(171, 53, 184);
/* oklch */ color: oklch(55.5% 0.213 323.6);
Tailwind
colors: {
  custom: {
    50: '#c877ce',
    500: '#ab35b8',
    950: '#000000',
  },
}
SCSS
$custom: #ab35b8;
$custom-light: #c877ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35b8",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 294.046,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55519,
    "c": 0.21336,
    "h": 323.6
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

primary
#AB35B8
secondary
#88C781
accent
#DF4958
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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