#AB30A4#AB30A4

#AB30A4 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 53.9% C 0.203 H 330.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AB30A4
RGBrgb(171, 48, 164)
HSLhsl(303, 56%, 43%)
HSVhsv(303, 72%, 67%)
CMYKcmyk(0%, 71.9%, 4.1%, 32.9%)
CIE-LABlab(43.44, 62.23, -36.35)
CIE-LCHlch(43.44, 72.07, 329.71°)
OKLaboklab(53.92% 0.1767 -0.1002)
OKLCHoklch(53.92% 0.203 330.4)
XYZxyz(24.5523, 13.4541, 36.4185)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB30A4 #30AB37
analogous
#7530AB #AB30A4 #AB3066
triadic
#AB30A4 #A4AB30 #30A4AB
tetradic
#AB30A4 #AB7530 #30AB37 #3066AB
square
#AB30A4 #AB7530 #30AB37 #3066AB
split-complementary
#AB30A4 #66AB30 #30AB75
monochromatic
#4B1548 #7B2376 #AB30A4 #CD4CC5 #DA7BD5

Accessibility & contrast

On white

5.69
#AB30A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AB30A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB30A4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB30A4#FFFFFF#000000##FFFFFF
##AB30A41.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA7
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#B23F67
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab30a4;
/* rgb */ color: rgb(171, 48, 164);
/* oklch */ color: oklch(53.9% 0.203 330.4);
Tailwind
colors: {
  custom: {
    50: '#c874bf',
    500: '#ab30a4',
    950: '#000000',
  },
}
SCSS
$custom: #ab30a4;
$custom-light: #c874bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab30a4",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 303.415,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53915,
    "c": 0.20311,
    "h": 330.4
  },
  "luminance": 0.13452
}

Semantic roles & 50–950 ramp

primary
#AB30A4
secondary
#74C379
accent
#DF5148
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB30A4

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

Preview Lab → · Contrast checker → · Palette generator →

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