#AA30B6#AA30B6

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

Color values

HEX#AA30B6
RGBrgb(170, 48, 182)
HSLhsl(295, 58%, 45%)
HSVhsv(295, 74%, 71%)
CMYKcmyk(6.6%, 73.6%, 0%, 28.6%)
CIE-LABlab(44.29, 65.03, -45.67)
CIE-LCHlch(44.29, 79.47, 324.92°)
OKLaboklab(54.82% 0.1754 -0.1273)
OKLCHoklch(54.82% 0.217 324)
XYZxyz(26.0773, 14.0390, 45.5832)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA30B6 #3CB630
analogous
#6730B6 #AA30B6 #B6307F
triadic
#AA30B6 #B6AA30 #30B6AA
tetradic
#AA30B6 #B66730 #3CB630 #307FB6
square
#AA30B6 #B66730 #3CB630 #307FB6
split-complementary
#AA30B6 #7FB630 #30B667
monochromatic
#501655 #7D2386 #AA30B6 #C652D1 #D682DE

Accessibility & contrast

On white

5.52
#AA30B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AA30B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA30B6
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA30B6#FFFFFF#000000##FFFFFF
##AA30B61.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#496EB3
Tritanopia (blue-blind)
#AD4871
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa30b6;
/* rgb */ color: rgb(170, 48, 182);
/* oklch */ color: oklch(54.8% 0.217 324.0);
Tailwind
colors: {
  custom: {
    50: '#c775cc',
    500: '#aa30b6',
    950: '#000000',
  },
}
SCSS
$custom: #aa30b6;
$custom-light: #c775cc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa30b6",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 294.627,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54818,
    "c": 0.21678,
    "h": 324
  },
  "luminance": 0.14037
}

Semantic roles & 50–950 ramp

primary
#AA30B6
secondary
#81C77B
accent
#E14654
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AA30B6

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

Preview Lab → · Contrast checker → · Palette generator →

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