#AA30AB#AA30AB

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

Color values

HEX#AA30AB
RGBrgb(170, 48, 171)
HSLhsl(300, 56%, 43%)
HSVhsv(300, 72%, 67%)
CMYKcmyk(0.6%, 71.9%, 0%, 32.9%)
CIE-LABlab(43.66, 63.15, -40.18)
CIE-LCHlch(43.66, 74.85, 327.53°)
OKLaboklab(54.16% 0.1757 -0.1113)
OKLCHoklch(54.16% 0.208 327.6)
XYZxyz(24.9849, 13.6020, 39.8297)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA30AB #31AB30
analogous
#6C30AB #AA30AB #AB306E
triadic
#AA30AB #ABAA30 #30ABAA
tetradic
#AA30AB #AB6C30 #31AB30 #306EAB
square
#AA30AB #AB6C30 #31AB30 #306EAB
split-complementary
#AA30AB #6EAB30 #30AB6C
monochromatic
#4B154B #7A237B #AA30AB #CC4CCD #D97BDA

Accessibility & contrast

On white

5.65
#AA30AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AA30AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA30AB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA30AB#FFFFFF#000000##FFFFFF
##AA30AB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185DAE
Deuteranopia (green-blind)
#506DA8
Tritanopia (blue-blind)
#AF436B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa30ab;
/* rgb */ color: rgb(170, 48, 171);
/* oklch */ color: oklch(54.2% 0.208 327.6);
Tailwind
colors: {
  custom: {
    50: '#c775c4',
    500: '#aa30ab',
    950: '#000000',
  },
}
SCSS
$custom: #aa30ab;
$custom-light: #c775c4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa30ab",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 299.512,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54163,
    "c": 0.20802,
    "h": 327.6
  },
  "luminance": 0.136
}

Semantic roles & 50–950 ramp

primary
#AA30AB
secondary
#75C374
accent
#DF484A
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #AA30AB

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

Preview Lab → · Contrast checker → · Palette generator →

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