#AB33AF#AB33AF

#AB33AF is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.208 H 326.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB33AF
RGBrgb(171, 51, 175)
HSLhsl(298, 55%, 44%)
HSVhsv(298, 71%, 69%)
CMYKcmyk(2.3%, 70.9%, 0%, 31.4%)
CIE-LABlab(44.41, 63.01, -41.34)
CIE-LCHlch(44.41, 75.36, 326.73°)
OKLaboklab(54.81% 0.1739 -0.1147)
OKLCHoklch(54.81% 0.208 326.6)
XYZxyz(25.7158, 14.1225, 41.9206)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33AF #37AF33
analogous
#6D33AF #AB33AF #AF3375
triadic
#AB33AF #AFAB33 #33AFAB
tetradic
#AB33AF #AF6D33 #37AF33 #3375AF
square
#AB33AF #AF6D33 #37AF33 #3375AF
split-complementary
#AB33AF #75AF33 #33AF6D
monochromatic
#4E1750 #7D2580 #AB33AF #C952CD #D882DB

Accessibility & contrast

On white

5.49
#AB33AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AB33AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33AF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33AF#FFFFFF#000000##FFFFFF
##AB33AF1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB2
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#B0476E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab33af;
/* rgb */ color: rgb(171, 51, 175);
/* oklch */ color: oklch(54.8% 0.208 326.6);
Tailwind
colors: {
  custom: {
    50: '#c876c7',
    500: '#ab33af',
    950: '#000000',
  },
}
SCSS
$custom: #ab33af;
$custom-light: #c876c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33af",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 298.065,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54805,
    "c": 0.20831,
    "h": 326.6
  },
  "luminance": 0.14121
}

Semantic roles & 50–950 ramp

primary
#AB33AF
secondary
#7CC47A
accent
#DE4A4E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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