#AB35BA#AB35BA

#AB35BA is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.215 H 323.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AB35BA
RGBrgb(171, 53, 186)
HSLhsl(293, 56%, 47%)
HSVhsv(293, 72%, 73%)
CMYKcmyk(8.1%, 71.5%, 0%, 27.1%)
CIE-LABlab(45.29, 64.21, -46.41)
CIE-LCHlch(45.29, 79.23, 324.14°)
OKLaboklab(55.64% 0.1717 -0.1295)
OKLCHoklch(55.64% 0.215 323)
XYZxyz(26.9298, 14.7509, 47.8736)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35BA #44BA35
analogous
#6935BA #AB35BA #BA3587
triadic
#AB35BA #BAAB35 #35BAAB
tetradic
#AB35BA #BA6935 #44BA35 #3587BA
square
#AB35BA #BA6935 #44BA35 #3587BA
split-complementary
#AB35BA #87BA35 #35BA69
monochromatic
#531A5B #7F278A #AB35BA #C35CD0 #D58BDE

Accessibility & contrast

On white

5.32
#AB35BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AB35BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35BA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35BA#FFFFFF#000000##FFFFFF
##AB35BA1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#4A70B7
Tritanopia (blue-blind)
#AE4D74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab35ba;
/* rgb */ color: rgb(171, 53, 186);
/* oklch */ color: oklch(55.6% 0.215 323.0);
Tailwind
colors: {
  custom: {
    50: '#c877cf',
    500: '#ab35ba',
    950: '#000000',
  },
}
SCSS
$custom: #ab35ba;
$custom-light: #c877cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35ba",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 293.233,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5564,
    "c": 0.21502,
    "h": 323
  },
  "luminance": 0.14749
}

Semantic roles & 50–950 ramp

primary
#AB35BA
secondary
#8AC882
accent
#DF495A
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB35BA

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

Preview Lab → · Contrast checker → · Palette generator →

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