#AB35B7#AB35B7

#AB35B7 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.213 H 323.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB35B7
RGBrgb(171, 53, 183)
HSLhsl(294, 55%, 46%)
HSVhsv(294, 71%, 72%)
CMYKcmyk(6.6%, 71%, 0%, 28.2%)
CIE-LABlab(45.12, 63.68, -44.93)
CIE-LCHlch(45.12, 77.94, 324.80°)
OKLaboklab(55.46% 0.1718 -0.1252)
OKLCHoklch(55.46% 0.213 323.9)
XYZxyz(26.6142, 14.6246, 46.2116)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35B7 #41B735
analogous
#6A35B7 #AB35B7 #B73582
triadic
#AB35B7 #B7AB35 #35B7AB
tetradic
#AB35B7 #B76A35 #41B735 #3582B7
square
#AB35B7 #B76A35 #41B735 #3582B7
split-complementary
#AB35B7 #82B735 #35B76A
monochromatic
#521A58 #7F2788 #AB35B7 #C45ACF #D589DD

Accessibility & contrast

On white

5.35
#AB35B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AB35B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35B7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35B7#FFFFFF#000000##FFFFFF
##AB35B71.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0862BB
Deuteranopia (green-blind)
#4C6FB4
Tritanopia (blue-blind)
#AE4B73
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab35b7;
/* rgb */ color: rgb(171, 53, 183);
/* oklch */ color: oklch(55.5% 0.213 323.9);
Tailwind
colors: {
  custom: {
    50: '#c877cd',
    500: '#ab35b7',
    950: '#000000',
  },
}
SCSS
$custom: #ab35b7;
$custom-light: #c877cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35b7",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 294.462,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55458,
    "c": 0.21254,
    "h": 323.9
  },
  "luminance": 0.14623
}

Semantic roles & 50–950 ramp

primary
#AB35B7
secondary
#87C781
accent
#DE4957
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AB35B7

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

Preview Lab → · Contrast checker → · Palette generator →

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