#AB30AF#AB30AF

#AB30AF is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.212 H 326.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AB30AF
RGBrgb(171, 48, 175)
HSLhsl(298, 57%, 44%)
HSVhsv(298, 73%, 69%)
CMYKcmyk(2.3%, 72.6%, 0%, 31.4%)
CIE-LABlab(44.04, 64.04, -41.92)
CIE-LCHlch(44.04, 76.55, 326.79°)
OKLaboklab(54.54% 0.1768 -0.1164)
OKLCHoklch(54.54% 0.212 326.6)
XYZxyz(25.5889, 13.8687, 41.8783)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB30AF #34AF30
analogous
#6B30AF #AB30AF #AF3073
triadic
#AB30AF #AFAB30 #30AFAB
tetradic
#AB30AF #AF6B30 #34AF30 #3073AF
square
#AB30AF #AF6B30 #34AF30 #3073AF
split-complementary
#AB30AF #73AF30 #30AF6B
monochromatic
#4D164F #7C237F #AB30AF #CA4ECE #D97EDC

Accessibility & contrast

On white

5.57
#AB30AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB30AF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB30AF#FFFFFF#000000##FFFFFF
##AB30AF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105EB2
Deuteranopia (green-blind)
#4F6DAC
Tritanopia (blue-blind)
#B0456D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab30af;
/* rgb */ color: rgb(171, 48, 175);
/* oklch */ color: oklch(54.5% 0.212 326.6);
Tailwind
colors: {
  custom: {
    50: '#c875c7',
    500: '#ab30af',
    950: '#000000',
  },
}
SCSS
$custom: #ab30af;
$custom-light: #c875c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab30af",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 298.11,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54544,
    "c": 0.21165,
    "h": 326.6
  },
  "luminance": 0.13867
}

Semantic roles & 50–950 ramp

primary
#AB30AF
secondary
#79C476
accent
#E0484C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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