#AA30B5#AA30B5

#AA30B5 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.216 H 324.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AA30B5
RGBrgb(170, 48, 181)
HSLhsl(295, 58%, 45%)
HSVhsv(295, 73%, 71%)
CMYKcmyk(6.1%, 73.5%, 0%, 29%)
CIE-LABlab(44.23, 64.86, -45.18)
CIE-LCHlch(44.23, 79.04, 325.14°)
OKLaboklab(54.76% 0.1755 -0.1259)
OKLCHoklch(54.76% 0.216 324.3)
XYZxyz(25.9743, 13.9978, 45.0408)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA30B5 #3BB530
analogous
#6830B5 #AA30B5 #B5307D
triadic
#AA30B5 #B5AA30 #30B5AA
tetradic
#AA30B5 #B56830 #3BB530 #307DB5
square
#AA30B5 #B56830 #3BB530 #307DB5
split-complementary
#AA30B5 #7DB530 #30B568
monochromatic
#4F1654 #7D2385 #AA30B5 #C651D1 #D682DE

Accessibility & contrast

On white

5.53
#AA30B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AA30B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA30B5
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA30B5#FFFFFF#000000##FFFFFF
##AA30B51.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#4A6DB2
Tritanopia (blue-blind)
#AD4870
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa30b5;
/* rgb */ color: rgb(170, 48, 181);
/* oklch */ color: oklch(54.8% 0.216 324.3);
Tailwind
colors: {
  custom: {
    50: '#c775cc',
    500: '#aa30b5',
    950: '#000000',
  },
}
SCSS
$custom: #aa30b5;
$custom-light: #c775cc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa30b5",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 295.038,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54757,
    "c": 0.21598,
    "h": 324.3
  },
  "luminance": 0.13996
}

Semantic roles & 50–950 ramp

primary
#AA30B5
secondary
#80C77A
accent
#E14653
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AA30B5

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

Preview Lab → · Contrast checker → · Palette generator →

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