#AB33A1#AB33A1

#AB33A1 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 54.0% C 0.197 H 331.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AB33A1
RGBrgb(171, 51, 161)
HSLhsl(305, 54%, 44%)
HSVhsv(305, 70%, 67%)
CMYKcmyk(0%, 70.2%, 5.8%, 32.9%)
CIE-LABlab(43.65, 60.69, -34.22)
CIE-LCHlch(43.65, 69.67, 330.59°)
OKLaboklab(54.02% 0.1735 -0.0941)
OKLCHoklch(54.02% 0.197 331.5)
XYZxyz(24.4114, 13.6007, 35.0508)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33A1 #33AB3D
analogous
#7933AB #AB33A1 #AB3365
triadic
#AB33A1 #A1AB33 #33A1AB
tetradic
#AB33A1 #AB7933 #33AB3D #3365AB
square
#AB33A1 #AB7933 #33AB3D #3365AB
split-complementary
#AB33A1 #65AB33 #33AB79
monochromatic
#4D1748 #7C2575 #AB33A1 #CB50C1 #D97FD1

Accessibility & contrast

On white

5.65
#AB33A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AB33A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33A1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33A1#FFFFFF#000000##FFFFFF
##AB33A11.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5CA4
Deuteranopia (green-blind)
#586D9E
Tritanopia (blue-blind)
#B24066
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab33a1;
/* rgb */ color: rgb(171, 51, 161);
/* oklch */ color: oklch(54.0% 0.197 331.5);
Tailwind
colors: {
  custom: {
    50: '#c776bd',
    500: '#ab33a1',
    950: '#000000',
  },
}
SCSS
$custom: #ab33a1;
$custom-light: #c776bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33a1",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 161
  },
  "hsl": {
    "h": 305,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54019,
    "c": 0.19734,
    "h": 331.5
  },
  "luminance": 0.13599
}

Semantic roles & 50–950 ramp

primary
#AB33A1
secondary
#78C27E
accent
#DD574A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB33A1

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

Preview Lab → · Contrast checker → · Palette generator →

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