#AB33C3#AB33C3

#AB33C3 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.225 H 320.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AB33C3
RGBrgb(171, 51, 195)
HSLhsl(290, 59%, 48%)
HSVhsv(290, 74%, 76%)
CMYKcmyk(12.3%, 73.8%, 0%, 23.5%)
CIE-LABlab(45.59, 66.54, -51.18)
CIE-LCHlch(45.59, 83.94, 322.43°)
OKLaboklab(56.03% 0.173 -0.1434)
OKLCHoklch(56.03% 0.225 320.3)
XYZxyz(27.8275, 14.9672, 53.0424)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33C3 #4BC333
analogous
#6333C3 #AB33C3 #C33393
triadic
#AB33C3 #C3AB33 #33C3AB
tetradic
#AB33C3 #C36333 #4BC333 #3393C3
square
#AB33C3 #C36333 #4BC333 #3393C3
split-complementary
#AB33C3 #93C333 #33C363
monochromatic
#561A62 #802692 #AB33C3 #C15ED5 #D48FE2

Accessibility & contrast

On white

5.26
#AB33C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AB33C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33C3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33C3#FFFFFF#000000##FFFFFF
##AB33C31.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#4270C0
Tritanopia (blue-blind)
#AC5079
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab33c3;
/* rgb */ color: rgb(171, 51, 195);
/* oklch */ color: oklch(56.0% 0.225 320.3);
Tailwind
colors: {
  custom: {
    50: '#c877d6',
    500: '#ab33c3',
    950: '#000000',
  },
}
SCSS
$custom: #ab33c3;
$custom-light: #c877d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33c3",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 195
  },
  "hsl": {
    "h": 290,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56027,
    "c": 0.2247,
    "h": 320.3
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

primary
#AB33C3
secondary
#91CC86
accent
#E24660
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB33C3

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

Preview Lab → · Contrast checker → · Palette generator →

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