#AA30C9#AA30C9

#AA30C9 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.232 H 318.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AA30C9
RGBrgb(170, 48, 201)
HSLhsl(288, 61%, 49%)
HSVhsv(288, 76%, 79%)
CMYKcmyk(15.4%, 76.1%, 0%, 21.2%)
CIE-LABlab(45.47, 68.44, -54.87)
CIE-LCHlch(45.47, 87.72, 321.28°)
OKLaboklab(56.03% 0.1738 -0.1542)
OKLCHoklch(56.03% 0.232 318.4)
XYZxyz(28.1757, 14.8783, 56.6347)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA30C9 #4FC930
analogous
#5E30C9 #AA30C9 #C9309C
triadic
#AA30C9 #C9AA30 #30C9AA
tetradic
#AA30C9 #C95E30 #4FC930 #309CC9
square
#AA30C9 #C95E30 #4FC930 #309CC9
split-complementary
#AA30C9 #9CC930 #30C95E
monochromatic
#561866 #802498 #AA30C9 #C05ED8 #D38FE4

Accessibility & contrast

On white

5.28
#AA30C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AA30C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA30C9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA30C9#FFFFFF#000000##FFFFFF
##AA30C91.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#386FC6
Tritanopia (blue-blind)
#A9517C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa30c9;
/* rgb */ color: rgb(170, 48, 201);
/* oklch */ color: oklch(56.0% 0.232 318.4);
Tailwind
colors: {
  custom: {
    50: '#c876da',
    500: '#aa30c9',
    950: '#000000',
  },
}
SCSS
$custom: #aa30c9;
$custom-light: #c876da;
$custom-dark: #000000;
JSON
{
  "hex": "#aa30c9",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 287.843,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56031,
    "c": 0.23237,
    "h": 318.4
  },
  "luminance": 0.14877
}

Semantic roles & 50–950 ramp

primary
#AA30C9
secondary
#95CF86
accent
#E54364
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #AA30C9

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

Preview Lab → · Contrast checker → · Palette generator →

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