#AA30AA#AA30AA

#AA30AA is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.207 H 328.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AA30AA
RGBrgb(170, 48, 170)
HSLhsl(300, 56%, 43%)
HSVhsv(300, 72%, 67%)
CMYKcmyk(0%, 71.8%, 0%, 33.3%)
CIE-LABlab(43.60, 62.99, -39.67)
CIE-LCHlch(43.60, 74.44, 327.79°)
OKLaboklab(54.11% 0.1757 -0.1099)
OKLCHoklch(54.11% 0.207 328)
XYZxyz(24.8899, 13.5640, 39.3296)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA30AA #30AA30
analogous
#6D30AA #AA30AA #AA306D
triadic
#AA30AA #AAAA30 #30AAAA
tetradic
#AA30AA #AA6D30 #30AA30 #306DAA
square
#AA30AA #AA6D30 #30AA30 #306DAA
split-complementary
#AA30AA #6DAA30 #30AA6D
monochromatic
#4B154B #7A237A #AA30AA #CC4BCC #DA7BDA

Accessibility & contrast

On white

5.66
#AA30AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AA30AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA30AA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA30AA#FFFFFF#000000##FFFFFF
##AA30AA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195DAD
Deuteranopia (green-blind)
#516DA7
Tritanopia (blue-blind)
#AF436A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa30aa;
/* rgb */ color: rgb(170, 48, 170);
/* oklch */ color: oklch(54.1% 0.207 328.0);
Tailwind
colors: {
  custom: {
    50: '#c774c4',
    500: '#aa30aa',
    950: '#000000',
  },
}
SCSS
$custom: #aa30aa;
$custom-light: #c774c4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa30aa",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54105,
    "c": 0.20724,
    "h": 328
  },
  "luminance": 0.13562
}

Semantic roles & 50–950 ramp

primary
#AA30AA
secondary
#74C274
accent
#DF4949
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #AA30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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