#AA30A6#AA30A6

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

Color values

HEX#AA30A6
RGBrgb(170, 48, 166)
HSLhsl(302, 56%, 43%)
HSVhsv(302, 72%, 67%)
CMYKcmyk(0%, 71.8%, 2.4%, 33.3%)
CIE-LABlab(43.38, 62.33, -37.64)
CIE-LCHlch(43.38, 72.81, 328.87°)
OKLaboklab(53.88% 0.1757 -0.104)
OKLCHoklch(53.88% 0.204 329.4)
XYZxyz(24.5173, 13.4150, 37.3670)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA30A6 #30AA34
analogous
#7130AA #AA30A6 #AA3069
triadic
#AA30A6 #A6AA30 #30A6AA
tetradic
#AA30A6 #AA7130 #30AA34 #3069AA
square
#AA30A6 #AA7130 #30AA34 #3069AA
split-complementary
#AA30A6 #69AA30 #30AA71
monochromatic
#4B1549 #7A2377 #AA30A6 #CC4BC8 #DA7BD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA30A6#FFFFFF#000000##FFFFFF
##AA30A61.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)
#205CA9
Deuteranopia (green-blind)
#536CA3
Tritanopia (blue-blind)
#B04168
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa30a6;
/* rgb */ color: rgb(170, 48, 166);
/* oklch */ color: oklch(53.9% 0.204 329.4);
Tailwind
colors: {
  custom: {
    50: '#c774c1',
    500: '#aa30a6',
    950: '#000000',
  },
}
SCSS
$custom: #aa30a6;
$custom-light: #c774c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa30a6",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 301.967,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53877,
    "c": 0.20412,
    "h": 329.4
  },
  "luminance": 0.13413
}

Semantic roles & 50–950 ramp

primary
#AA30A6
secondary
#74C276
accent
#DF4D49
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA30A6

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

Preview Lab → · Contrast checker → · Palette generator →

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