#AB30A9#AB30A9

#AB30A9 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.207 H 328.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AB30A9
RGBrgb(171, 48, 169)
HSLhsl(301, 56%, 43%)
HSVhsv(301, 72%, 67%)
CMYKcmyk(0%, 71.9%, 1.2%, 32.9%)
CIE-LABlab(43.71, 63.04, -38.90)
CIE-LCHlch(43.71, 74.08, 328.33°)
OKLaboklab(54.2% 0.1768 -0.1076)
OKLCHoklch(54.2% 0.207 328.7)
XYZxyz(25.0127, 13.6382, 38.8435)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB30A9 #30AB32
analogous
#7030AB #AB30A9 #AB306B
triadic
#AB30A9 #A9AB30 #30A9AB
tetradic
#AB30A9 #AB7030 #30AB32 #306BAB
square
#AB30A9 #AB7030 #30AB32 #306BAB
split-complementary
#AB30A9 #6BAB30 #30AB70
monochromatic
#4B154B #7B237A #AB30A9 #CD4CCB #DA7BD9

Accessibility & contrast

On white

5.63
#AB30A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB30A9
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB30A9#FFFFFF#000000##FFFFFF
##AB30A91.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5DAC
Deuteranopia (green-blind)
#526DA6
Tritanopia (blue-blind)
#B1426A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab30a9;
/* rgb */ color: rgb(171, 48, 169);
/* oklch */ color: oklch(54.2% 0.207 328.7);
Tailwind
colors: {
  custom: {
    50: '#c875c3',
    500: '#ab30a9',
    950: '#000000',
  },
}
SCSS
$custom: #ab30a9;
$custom-light: #c875c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab30a9",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 169
  },
  "hsl": {
    "h": 300.976,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54197,
    "c": 0.20695,
    "h": 328.7
  },
  "luminance": 0.13636
}

Semantic roles & 50–950 ramp

primary
#AB30A9
secondary
#74C376
accent
#DF4B48
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AB30A9

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

Preview Lab → · Contrast checker → · Palette generator →

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