#AB35C7#AB35C7

#AB35C7 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.5% C 0.226 H 319.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AB35C7
RGBrgb(171, 53, 199)
HSLhsl(288, 58%, 49%)
HSVhsv(288, 73%, 78%)
CMYKcmyk(14.1%, 73.4%, 0%, 22%)
CIE-LABlab(46.08, 66.58, -52.71)
CIE-LCHlch(46.08, 84.92, 321.63°)
OKLaboklab(56.46% 0.1708 -0.1479)
OKLCHoklch(56.46% 0.226 319.1)
XYZxyz(28.3751, 15.3290, 55.4859)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35C7 #51C735
analogous
#6235C7 #AB35C7 #C7359A
triadic
#AB35C7 #C7AB35 #35C7AB
tetradic
#AB35C7 #C76235 #51C735 #359AC7
square
#AB35C7 #C76235 #51C735 #359AC7
split-complementary
#AB35C7 #9AC735 #35C762
monochromatic
#581B66 #812897 #AB35C7 #C064D6 #D394E2

Accessibility & contrast

On white

5.17
#AB35C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AB35C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35C7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35C7#FFFFFF#000000##FFFFFF
##AB35C71.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#3F71C4
Tritanopia (blue-blind)
#AB537C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab35c7;
/* rgb */ color: rgb(171, 53, 199);
/* oklch */ color: oklch(56.5% 0.226 319.1);
Tailwind
colors: {
  custom: {
    50: '#c878d9',
    500: '#ab35c7',
    950: '#000000',
  },
}
SCSS
$custom: #ab35c7;
$custom-light: #c878d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35c7",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 288.493,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56457,
    "c": 0.22594,
    "h": 319.1
  },
  "luminance": 0.15328
}

Semantic roles & 50–950 ramp

primary
#AB35C7
secondary
#97CE8A
accent
#E14764
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB35C7

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

Preview Lab → · Contrast checker → · Palette generator →

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