#AA30A2#AA30A2

#AA30A2 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.201 H 330.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AA30A2
RGBrgb(170, 48, 162)
HSLhsl(304, 56%, 43%)
HSVhsv(304, 72%, 67%)
CMYKcmyk(0%, 71.8%, 4.7%, 33.3%)
CIE-LABlab(43.17, 61.68, -35.59)
CIE-LCHlch(43.17, 71.21, 330.01°)
OKLaboklab(53.65% 0.1755 -0.0981)
OKLCHoklch(53.65% 0.201 330.8)
XYZxyz(24.1560, 13.2705, 35.4646)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA30A2 #30AA38
analogous
#7530AA #AA30A2 #AA3065
triadic
#AA30A2 #A2AA30 #30A2AA
tetradic
#AA30A2 #AA7530 #30AA38 #3065AA
square
#AA30A2 #AA7530 #30AA38 #3065AA
split-complementary
#AA30A2 #65AA30 #30AA75
monochromatic
#4B1547 #7A2375 #AA30A2 #CC4BC4 #DA7BD3

Accessibility & contrast

On white

5.75
#AA30A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AA30A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA30A2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA30A2#FFFFFF#000000##FFFFFF
##AA30A21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255BA5
Deuteranopia (green-blind)
#556C9F
Tritanopia (blue-blind)
#B13F66
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa30a2;
/* rgb */ color: rgb(170, 48, 162);
/* oklch */ color: oklch(53.7% 0.201 330.8);
Tailwind
colors: {
  custom: {
    50: '#c774be',
    500: '#aa30a2',
    950: '#000000',
  },
}
SCSS
$custom: #aa30a2;
$custom-light: #c774be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa30a2",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 303.934,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53654,
    "c": 0.20105,
    "h": 330.8
  },
  "luminance": 0.13269
}

Semantic roles & 50–950 ramp

primary
#AA30A2
secondary
#74C279
accent
#DF5249
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA30A2

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

Preview Lab → · Contrast checker → · Palette generator →

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