#AA30BB#AA30BB

#AA30BB is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.221 H 322.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AA30BB
RGBrgb(170, 48, 187)
HSLhsl(293, 59%, 46%)
HSVhsv(293, 74%, 73%)
CMYKcmyk(9.1%, 74.3%, 0%, 26.7%)
CIE-LABlab(44.59, 65.91, -48.12)
CIE-LCHlch(44.59, 81.61, 323.86°)
OKLaboklab(55.13% 0.1752 -0.1345)
OKLCHoklch(55.13% 0.221 322.5)
XYZxyz(26.6032, 14.2494, 48.3532)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA30BB #41BB30
analogous
#6430BB #AA30BB #BB3086
triadic
#AA30BB #BBAA30 #30BBAA
tetradic
#AA30BB #BB6430 #41BB30 #3086BB
square
#AA30BB #BB6430 #41BB30 #3086BB
split-complementary
#AA30BB #86BB30 #30BB64
monochromatic
#51175A #7E238A #AA30BB #C455D3 #D586E0

Accessibility & contrast

On white

5.46
#AA30BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AA30BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA30BB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA30BB#FFFFFF#000000##FFFFFF
##AA30BB1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#456EB8
Tritanopia (blue-blind)
#AC4A74
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa30bb;
/* rgb */ color: rgb(170, 48, 187);
/* oklch */ color: oklch(55.1% 0.221 322.5);
Tailwind
colors: {
  custom: {
    50: '#c775d0',
    500: '#aa30bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa30bb;
$custom-light: #c775d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa30bb",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 292.662,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55127,
    "c": 0.22084,
    "h": 322.5
  },
  "luminance": 0.14248
}

Semantic roles & 50–950 ramp

primary
#AA30BB
secondary
#87C97D
accent
#E24559
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AA30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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