#AB30AE#AB30AE

#AB30AE is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.211 H 327.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AB30AE
RGBrgb(171, 48, 174)
HSLhsl(299, 57%, 44%)
HSVhsv(299, 72%, 68%)
CMYKcmyk(1.7%, 72.4%, 0%, 31.8%)
CIE-LABlab(43.99, 63.88, -41.42)
CIE-LCHlch(43.99, 76.13, 327.04°)
OKLaboklab(54.48% 0.1768 -0.1149)
OKLCHoklch(54.48% 0.211 327)
XYZxyz(25.4911, 13.8296, 41.3629)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB30AE #33AE30
analogous
#6C30AE #AB30AE #AE3072
triadic
#AB30AE #AEAB30 #30AEAB
tetradic
#AB30AE #AE6C30 #33AE30 #3072AE
square
#AB30AE #AE6C30 #33AE30 #3072AE
split-complementary
#AB30AE #72AE30 #30AE6C
monochromatic
#4D164E #7C237E #AB30AE #CB4DCE #D97DDB

Accessibility & contrast

On white

5.58
#AB30AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AB30AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB30AE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB30AE#FFFFFF#000000##FFFFFF
##AB30AE1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135EB1
Deuteranopia (green-blind)
#4F6DAB
Tritanopia (blue-blind)
#B0446C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab30ae;
/* rgb */ color: rgb(171, 48, 174);
/* oklch */ color: oklch(54.5% 0.211 327.0);
Tailwind
colors: {
  custom: {
    50: '#c875c7',
    500: '#ab30ae',
    950: '#000000',
  },
}
SCSS
$custom: #ab30ae;
$custom-light: #c875c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab30ae",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 298.571,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54485,
    "c": 0.21086,
    "h": 327
  },
  "luminance": 0.13828
}

Semantic roles & 50–950 ramp

primary
#AB30AE
secondary
#78C476
accent
#E0484B
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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