#AB33A3#AB33A3

#AB33A3 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.1% C 0.199 H 330.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AB33A3
RGBrgb(171, 51, 163)
HSLhsl(304, 54%, 44%)
HSVhsv(304, 70%, 67%)
CMYKcmyk(0%, 70.2%, 4.7%, 32.9%)
CIE-LABlab(43.76, 61.01, -35.25)
CIE-LCHlch(43.76, 70.46, 329.99°)
OKLaboklab(54.13% 0.1736 -0.0971)
OKLCHoklch(54.13% 0.199 330.8)
XYZxyz(24.5892, 13.6718, 35.9871)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33A3 #33AB3B
analogous
#7733AB #AB33A3 #AB3367
triadic
#AB33A3 #A3AB33 #33A3AB
tetradic
#AB33A3 #AB7733 #33AB3B #3367AB
square
#AB33A3 #AB7733 #33AB3B #3367AB
split-complementary
#AB33A3 #67AB33 #33AB77
monochromatic
#4D1749 #7C2576 #AB33A3 #CB50C3 #D97FD3

Accessibility & contrast

On white

5.62
#AB33A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AB33A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33A3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33A3#FFFFFF#000000##FFFFFF
##AB33A31.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA6
Deuteranopia (green-blind)
#576DA0
Tritanopia (blue-blind)
#B24167
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab33a3;
/* rgb */ color: rgb(171, 51, 163);
/* oklch */ color: oklch(54.1% 0.199 330.8);
Tailwind
colors: {
  custom: {
    50: '#c776be',
    500: '#ab33a3',
    950: '#000000',
  },
}
SCSS
$custom: #ab33a3;
$custom-light: #c776be;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33a3",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 304,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54128,
    "c": 0.19887,
    "h": 330.8
  },
  "luminance": 0.1367
}

Semantic roles & 50–950 ramp

primary
#AB33A3
secondary
#78C27D
accent
#DD544A
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB33A3

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

Preview Lab → · Contrast checker → · Palette generator →

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