#AB35CA#AB35CA

#AB35CA is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.7% C 0.228 H 318.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AB35CA
RGBrgb(171, 53, 202)
HSLhsl(288, 58%, 50%)
HSVhsv(288, 74%, 79%)
CMYKcmyk(15.3%, 73.8%, 0%, 20.8%)
CIE-LABlab(46.27, 67.14, -54.14)
CIE-LCHlch(46.27, 86.25, 321.12°)
OKLaboklab(56.65% 0.1705 -0.1521)
OKLCHoklch(56.65% 0.228 318.3)
XYZxyz(28.7269, 15.4697, 57.3384)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35CA #54CA35
analogous
#6135CA #AB35CA #CA359E
triadic
#AB35CA #CAAB35 #35CAAB
tetradic
#AB35CA #CA6135 #54CA35 #359ECA
square
#AB35CA #CA6135 #54CA35 #359ECA
split-complementary
#AB35CA #9ECA35 #35CA61
monochromatic
#591C69 #82289A #AB35CA #BF65D7 #D396E3

Accessibility & contrast

On white

5.13
#AB35CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AB35CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35CA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35CA#FFFFFF#000000##FFFFFF
##AB35CA1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#3C71C7
Tritanopia (blue-blind)
#AA547D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab35ca;
/* rgb */ color: rgb(171, 53, 202);
/* oklch */ color: oklch(56.7% 0.228 318.3);
Tailwind
colors: {
  custom: {
    50: '#c878db',
    500: '#ab35ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab35ca;
$custom-light: #c878db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35ca",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 287.517,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.56652,
    "c": 0.22848,
    "h": 318.3
  },
  "luminance": 0.15468
}

Semantic roles & 50–950 ramp

primary
#AB35CA
secondary
#9ACF8C
accent
#E24667
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB35CA

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

Preview Lab → · Contrast checker → · Palette generator →

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