#AA30B1#AA30B1

#AA30B1 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.213 H 325.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AA30B1
RGBrgb(170, 48, 177)
HSLhsl(297, 57%, 44%)
HSVhsv(297, 73%, 69%)
CMYKcmyk(4%, 72.9%, 0%, 30.6%)
CIE-LABlab(44.00, 64.17, -43.19)
CIE-LCHlch(44.00, 77.35, 326.06°)
OKLaboklab(54.52% 0.1756 -0.1201)
OKLCHoklch(54.52% 0.213 325.6)
XYZxyz(25.5698, 13.8360, 42.9103)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA30B1 #37B130
analogous
#6A30B1 #AA30B1 #B13078
triadic
#AA30B1 #B1AA30 #30B1AA
tetradic
#AA30B1 #B16A30 #37B130 #3078B1
square
#AA30B1 #B16A30 #37B130 #3078B1
split-complementary
#AA30B1 #78B130 #30B16A
monochromatic
#4E1651 #7C2381 #AA30B1 #C84FCF #D77FDC

Accessibility & contrast

On white

5.58
#AA30B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA30B1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA30B1#FFFFFF#000000##FFFFFF
##AA30B11.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075EB5
Deuteranopia (green-blind)
#4C6DAE
Tritanopia (blue-blind)
#AE466E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa30b1;
/* rgb */ color: rgb(170, 48, 177);
/* oklch */ color: oklch(54.5% 0.213 325.6);
Tailwind
colors: {
  custom: {
    50: '#c775c9',
    500: '#aa30b1',
    950: '#000000',
  },
}
SCSS
$custom: #aa30b1;
$custom-light: #c775c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa30b1",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 296.744,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54516,
    "c": 0.21277,
    "h": 325.6
  },
  "luminance": 0.13834
}

Semantic roles & 50–950 ramp

primary
#AA30B1
secondary
#7CC578
accent
#E14750
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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