#AB35B2#AB35B2

#AB35B2 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.208 H 325.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AB35B2
RGBrgb(171, 53, 178)
HSLhsl(297, 54%, 45%)
HSVhsv(297, 70%, 70%)
CMYKcmyk(3.9%, 70.2%, 0%, 30.2%)
CIE-LABlab(44.83, 62.81, -42.44)
CIE-LCHlch(44.83, 75.80, 325.95°)
OKLaboklab(55.16% 0.1719 -0.1179)
OKLCHoklch(55.16% 0.208 325.5)
XYZxyz(26.1030, 14.4202, 43.5193)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35B2 #3CB235
analogous
#6C35B2 #AB35B2 #B2357A
triadic
#AB35B2 #B2AB35 #35B2AB
tetradic
#AB35B2 #B26C35 #3CB235 #357AB2
square
#AB35B2 #B26C35 #3CB235 #357AB2
split-complementary
#AB35B2 #7AB235 #35B26C
monochromatic
#501954 #7E2783 #AB35B2 #C657CD #D686DB

Accessibility & contrast

On white

5.41
#AB35B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AB35B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35B2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35B2#FFFFFF#000000##FFFFFF
##AB35B21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1661B6
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#AF4970
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab35b2;
/* rgb */ color: rgb(171, 53, 178);
/* oklch */ color: oklch(55.2% 0.208 325.5);
Tailwind
colors: {
  custom: {
    50: '#c877c9',
    500: '#ab35b2',
    950: '#000000',
  },
}
SCSS
$custom: #ab35b2;
$custom-light: #c877c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35b2",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 296.64,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55161,
    "c": 0.20843,
    "h": 325.5
  },
  "luminance": 0.14418
}

Semantic roles & 50–950 ramp

primary
#AB35B2
secondary
#82C57E
accent
#DD4A53
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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