#AB35C4#AB35C4

#AB35C4 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.223 H 320.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB35C4
RGBrgb(171, 53, 196)
HSLhsl(290, 57%, 49%)
HSVhsv(290, 73%, 77%)
CMYKcmyk(12.8%, 73%, 0%, 23.1%)
CIE-LABlab(45.89, 66.02, -51.27)
CIE-LCHlch(45.89, 83.59, 322.17°)
OKLaboklab(56.26% 0.171 -0.1437)
OKLCHoklch(56.26% 0.223 320)
XYZxyz(28.0303, 15.1911, 53.6696)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35C4 #4EC435
analogous
#6335C4 #AB35C4 #C43596
triadic
#AB35C4 #C4AB35 #35C4AB
tetradic
#AB35C4 #C46335 #4EC435 #3596C4
square
#AB35C4 #C46335 #4EC435 #3596C4
split-complementary
#AB35C4 #96C435 #35C463
monochromatic
#571B64 #812894 #AB35C4 #C062D4 #D492E1

Accessibility & contrast

On white

5.20
#AB35C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AB35C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35C4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35C4#FFFFFF#000000##FFFFFF
##AB35C41.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#4271C1
Tritanopia (blue-blind)
#AB517A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab35c4;
/* rgb */ color: rgb(171, 53, 196);
/* oklch */ color: oklch(56.3% 0.223 320.0);
Tailwind
colors: {
  custom: {
    50: '#c878d6',
    500: '#ab35c4',
    950: '#000000',
  },
}
SCSS
$custom: #ab35c4;
$custom-light: #c878d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35c4",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 289.51,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56264,
    "c": 0.2234,
    "h": 320
  },
  "luminance": 0.1519
}

Semantic roles & 50–950 ramp

primary
#AB35C4
secondary
#94CC88
accent
#E14762
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB35C4

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

Preview Lab → · Contrast checker → · Palette generator →

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