#AA30A0#AA30A0

#AA30A0 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.5% C 0.200 H 331.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AA30A0
RGBrgb(170, 48, 160)
HSLhsl(305, 56%, 43%)
HSVhsv(305, 72%, 67%)
CMYKcmyk(0%, 71.8%, 5.9%, 33.3%)
CIE-LABlab(43.06, 61.36, -34.56)
CIE-LCHlch(43.06, 70.42, 330.61°)
OKLaboklab(53.54% 0.1754 -0.0951)
OKLCHoklch(53.54% 0.2 331.5)
XYZxyz(23.9797, 13.1999, 34.5358)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA30A0 #30AA3A
analogous
#7730AA #AA30A0 #AA3063
triadic
#AA30A0 #A0AA30 #30A0AA
tetradic
#AA30A0 #AA7730 #30AA3A #3063AA
square
#AA30A0 #AA7730 #30AA3A #3063AA
split-complementary
#AA30A0 #63AA30 #30AA77
monochromatic
#4B1546 #7A2373 #AA30A0 #CC4BC2 #DA7BD2

Accessibility & contrast

On white

5.77
#AA30A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AA30A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA30A0
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA30A0#FFFFFF#000000##FFFFFF
##AA30A01.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275BA3
Deuteranopia (green-blind)
#566C9D
Tritanopia (blue-blind)
#B13E65
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa30a0;
/* rgb */ color: rgb(170, 48, 160);
/* oklch */ color: oklch(53.5% 0.200 331.5);
Tailwind
colors: {
  custom: {
    50: '#c774bc',
    500: '#aa30a0',
    950: '#000000',
  },
}
SCSS
$custom: #aa30a0;
$custom-light: #c774bc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa30a0",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 160
  },
  "hsl": {
    "h": 304.918,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53544,
    "c": 0.19954,
    "h": 331.5
  },
  "luminance": 0.13198
}

Semantic roles & 50–950 ramp

primary
#AA30A0
secondary
#74C27A
accent
#DF5549
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA30A0

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

Preview Lab → · Contrast checker → · Palette generator →

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