#AB35C3#AB35C3

#AB35C3 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.223 H 320.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AB35C3
RGBrgb(171, 53, 195)
HSLhsl(290, 57%, 49%)
HSVhsv(290, 73%, 76%)
CMYKcmyk(12.3%, 72.8%, 0%, 23.5%)
CIE-LABlab(45.83, 65.84, -50.79)
CIE-LCHlch(45.83, 83.15, 322.35°)
OKLaboklab(56.2% 0.1711 -0.1423)
OKLCHoklch(56.2% 0.223 320.3)
XYZxyz(27.9168, 15.1457, 53.0721)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35C3 #4DC335
analogous
#6435C3 #AB35C3 #C33594
triadic
#AB35C3 #C3AB35 #35C3AB
tetradic
#AB35C3 #C36435 #4DC335 #3594C3
square
#AB35C3 #C36435 #4DC335 #3594C3
split-complementary
#AB35C3 #94C335 #35C364
monochromatic
#571B63 #812893 #AB35C3 #C161D4 #D491E1

Accessibility & contrast

On white

5.21
#AB35C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AB35C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35C3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35C3#FFFFFF#000000##FFFFFF
##AB35C31.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#4371C0
Tritanopia (blue-blind)
#AC5179
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab35c3;
/* rgb */ color: rgb(171, 53, 195);
/* oklch */ color: oklch(56.2% 0.223 320.3);
Tailwind
colors: {
  custom: {
    50: '#c878d6',
    500: '#ab35c3',
    950: '#000000',
  },
}
SCSS
$custom: #ab35c3;
$custom-light: #c878d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35c3",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 289.859,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.562,
    "c": 0.22256,
    "h": 320.3
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#AB35C3
secondary
#93CC88
accent
#E14761
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB35C3

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

Preview Lab → · Contrast checker → · Palette generator →

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