#AB35BD#AB35BD

#AB35BD is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.218 H 322.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AB35BD
RGBrgb(171, 53, 189)
HSLhsl(292, 56%, 47%)
HSVhsv(292, 72%, 74%)
CMYKcmyk(9.5%, 72%, 0%, 25.9%)
CIE-LABlab(45.47, 64.75, -47.88)
CIE-LCHlch(45.47, 80.53, 323.52°)
OKLaboklab(55.82% 0.1715 -0.1338)
OKLCHoklch(55.82% 0.218 322)
XYZxyz(27.2520, 14.8798, 49.5709)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35BD #47BD35
analogous
#6735BD #AB35BD #BD358B
triadic
#AB35BD #BDAB35 #35BDAB
tetradic
#AB35BD #BD6735 #47BD35 #358BBD
square
#AB35BD #BD6735 #47BD35 #358BBD
split-complementary
#AB35BD #8BBD35 #35BD67
monochromatic
#551A5D #80288D #AB35BD #C25DD2 #D48DDF

Accessibility & contrast

On white

5.28
#AB35BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AB35BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35BD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35BD#FFFFFF#000000##FFFFFF
##AB35BD1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#4870BA
Tritanopia (blue-blind)
#AD4E76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab35bd;
/* rgb */ color: rgb(171, 53, 189);
/* oklch */ color: oklch(55.8% 0.218 322.0);
Tailwind
colors: {
  custom: {
    50: '#c878d1',
    500: '#ab35bd',
    950: '#000000',
  },
}
SCSS
$custom: #ab35bd;
$custom-light: #c878d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35bd",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 292.059,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55824,
    "c": 0.21752,
    "h": 322
  },
  "luminance": 0.14878
}

Semantic roles & 50–950 ramp

primary
#AB35BD
secondary
#8DCA84
accent
#DF485C
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB35BD

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

Preview Lab → · Contrast checker → · Palette generator →

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