#AB35C2#AB35C2

#AB35C2 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.222 H 320.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AB35C2
RGBrgb(171, 53, 194)
HSLhsl(290, 57%, 48%)
HSVhsv(290, 73%, 76%)
CMYKcmyk(11.9%, 72.7%, 0%, 23.9%)
CIE-LABlab(45.77, 65.66, -50.31)
CIE-LCHlch(45.77, 82.71, 322.54°)
OKLaboklab(56.14% 0.1712 -0.1409)
OKLCHoklch(56.14% 0.222 320.5)
XYZxyz(27.8041, 15.1006, 52.4787)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35C2 #4CC235
analogous
#6435C2 #AB35C2 #C23592
triadic
#AB35C2 #C2AB35 #35C2AB
tetradic
#AB35C2 #C26435 #4CC235 #3592C2
square
#AB35C2 #C26435 #4CC235 #3592C2
split-complementary
#AB35C2 #92C235 #35C264
monochromatic
#561B62 #812892 #AB35C2 #C160D4 #D491E1

Accessibility & contrast

On white

5.22
#AB35C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AB35C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35C2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35C2#FFFFFF#000000##FFFFFF
##AB35C21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#4471BF
Tritanopia (blue-blind)
#AC5079
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab35c2;
/* rgb */ color: rgb(171, 53, 194);
/* oklch */ color: oklch(56.1% 0.222 320.5);
Tailwind
colors: {
  custom: {
    50: '#c878d5',
    500: '#ab35c2',
    950: '#000000',
  },
}
SCSS
$custom: #ab35c2;
$custom-light: #c878d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35c2",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 290.213,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56137,
    "c": 0.22171,
    "h": 320.5
  },
  "luminance": 0.15099
}

Semantic roles & 50–950 ramp

primary
#AB35C2
secondary
#92CC87
accent
#E04760
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB35C2

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

Preview Lab → · Contrast checker → · Palette generator →

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