#AB32CF#AB32CF

#AB32CF is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.7% C 0.236 H 317.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AB32CF
RGBrgb(171, 50, 207)
HSLhsl(286, 62%, 50%)
HSVhsv(286, 76%, 81%)
CMYKcmyk(17.4%, 75.8%, 0%, 18.8%)
CIE-LABlab(46.24, 69.10, -57.08)
CIE-LCHlch(46.24, 89.62, 320.44°)
OKLaboklab(56.73% 0.1725 -0.1607)
OKLCHoklch(56.73% 0.236 317)
XYZxyz(29.1960, 15.4454, 60.4627)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB32CF #56CF32
analogous
#5C32CF #AB32CF #CF32A4
triadic
#AB32CF #CFAB32 #32CFAB
tetradic
#AB32CF #CF5C32 #56CF32 #32A4CF
square
#AB32CF #CF5C32 #56CF32 #32A4CF
split-complementary
#AB32CF #A4CF32 #32CF5C
monochromatic
#5A1A6D #83259F #AB32CF #BF64DB #D495E6

Accessibility & contrast

On white

5.14
#AB32CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB32CF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB32CF#FFFFFF#000000##FFFFFF
##AB32CF1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#3471CC
Tritanopia (blue-blind)
#A9557F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab32cf;
/* rgb */ color: rgb(171, 50, 207);
/* oklch */ color: oklch(56.7% 0.236 317.0);
Tailwind
colors: {
  custom: {
    50: '#c877de',
    500: '#ab32cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab32cf;
$custom-light: #c877de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab32cf",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 207
  },
  "hsl": {
    "h": 286.242,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56731,
    "c": 0.23578,
    "h": 317
  },
  "luminance": 0.15444
}

Semantic roles & 50–950 ramp

primary
#AB32CF
secondary
#9BD18B
accent
#E54368
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB32CF

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

Preview Lab → · Contrast checker → · Palette generator →

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