#AA30A8#AA30A8

#AA30A8 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.206 H 328.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AA30A8
RGBrgb(170, 48, 168)
HSLhsl(301, 56%, 43%)
HSVhsv(301, 72%, 67%)
CMYKcmyk(0%, 71.8%, 1.2%, 33.3%)
CIE-LABlab(43.49, 62.66, -38.66)
CIE-LCHlch(43.49, 73.62, 328.32°)
OKLaboklab(53.99% 0.1757 -0.1069)
OKLCHoklch(53.99% 0.206 328.7)
XYZxyz(24.7021, 13.4889, 38.3408)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA30A8 #30AA32
analogous
#6F30AA #AA30A8 #AA306B
triadic
#AA30A8 #A8AA30 #30A8AA
tetradic
#AA30A8 #AA6F30 #30AA32 #306BAA
square
#AA30A8 #AA6F30 #30AA32 #306BAA
split-complementary
#AA30A8 #6BAA30 #30AA6F
monochromatic
#4B154A #7A2379 #AA30A8 #CC4BCA #DA7BD8

Accessibility & contrast

On white

5.68
#AA30A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AA30A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA30A8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA30A8#FFFFFF#000000##FFFFFF
##AA30A81.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5CAB
Deuteranopia (green-blind)
#526CA5
Tritanopia (blue-blind)
#B04269
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa30a8;
/* rgb */ color: rgb(170, 48, 168);
/* oklch */ color: oklch(54.0% 0.206 328.7);
Tailwind
colors: {
  custom: {
    50: '#c774c2',
    500: '#aa30a8',
    950: '#000000',
  },
}
SCSS
$custom: #aa30a8;
$custom-light: #c774c2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa30a8",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 300.984,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5399,
    "c": 0.20568,
    "h": 328.7
  },
  "luminance": 0.13487
}

Semantic roles & 50–950 ramp

primary
#AA30A8
secondary
#74C275
accent
#DF4B49
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #AA30A8

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

Preview Lab → · Contrast checker → · Palette generator →

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