#AB30A3#AB30A3

#AB30A3 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.202 H 330.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AB30A3
RGBrgb(171, 48, 163)
HSLhsl(304, 56%, 43%)
HSVhsv(304, 72%, 67%)
CMYKcmyk(0%, 71.9%, 4.7%, 32.9%)
CIE-LABlab(43.39, 62.07, -35.84)
CIE-LCHlch(43.39, 71.67, 330.00°)
OKLaboklab(53.86% 0.1766 -0.0987)
OKLCHoklch(53.86% 0.202 330.8)
XYZxyz(24.4623, 13.4181, 35.9448)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB30A3 #30AB38
analogous
#7530AB #AB30A3 #AB3066
triadic
#AB30A3 #A3AB30 #30A3AB
tetradic
#AB30A3 #AB7530 #30AB38 #3066AB
square
#AB30A3 #AB7530 #30AB38 #3066AB
split-complementary
#AB30A3 #66AB30 #30AB75
monochromatic
#4B1548 #7B2375 #AB30A3 #CD4CC4 #DA7BD4

Accessibility & contrast

On white

5.70
#AB30A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AB30A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB30A3
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB30A3#FFFFFF#000000##FFFFFF
##AB30A31.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA6
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#B23F66
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab30a3;
/* rgb */ color: rgb(171, 48, 163);
/* oklch */ color: oklch(53.9% 0.202 330.8);
Tailwind
colors: {
  custom: {
    50: '#c874be',
    500: '#ab30a3',
    950: '#000000',
  },
}
SCSS
$custom: #ab30a3;
$custom-light: #c874be;
$custom-dark: #000000;
JSON
{
  "hex": "#ab30a3",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 303.902,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5386,
    "c": 0.20234,
    "h": 330.8
  },
  "luminance": 0.13416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB30A3

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

Preview Lab → · Contrast checker → · Palette generator →

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