#AA30B2#AA30B2

#AA30B2 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.214 H 325.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AA30B2
RGBrgb(170, 48, 178)
HSLhsl(296, 58%, 44%)
HSVhsv(296, 73%, 70%)
CMYKcmyk(4.5%, 73%, 0%, 30.2%)
CIE-LABlab(44.05, 64.34, -43.69)
CIE-LCHlch(44.05, 77.77, 325.82°)
OKLaboklab(54.58% 0.1756 -0.1216)
OKLCHoklch(54.58% 0.214 325.3)
XYZxyz(25.6698, 13.8760, 43.4371)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA30B2 #38B230
analogous
#6930B2 #AA30B2 #B23079
triadic
#AA30B2 #B2AA30 #30B2AA
tetradic
#AA30B2 #B26930 #38B230 #3079B2
square
#AA30B2 #B26930 #38B230 #3079B2
split-complementary
#AA30B2 #79B230 #30B269
monochromatic
#4E1652 #7C2382 #AA30B2 #C850D0 #D780DD

Accessibility & contrast

On white

5.56
#AA30B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AA30B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA30B2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA30B2#FFFFFF#000000##FFFFFF
##AA30B21.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045FB6
Deuteranopia (green-blind)
#4C6DAF
Tritanopia (blue-blind)
#AE466F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa30b2;
/* rgb */ color: rgb(170, 48, 178);
/* oklch */ color: oklch(54.6% 0.214 325.3);
Tailwind
colors: {
  custom: {
    50: '#c775c9',
    500: '#aa30b2',
    950: '#000000',
  },
}
SCSS
$custom: #aa30b2;
$custom-light: #c775c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa30b2",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 296.308,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54575,
    "c": 0.21357,
    "h": 325.3
  },
  "luminance": 0.13874
}

Semantic roles & 50–950 ramp

primary
#AA30B2
secondary
#7DC678
accent
#E14750
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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