#AA30B8#AA30B8

#AA30B8 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.218 H 323.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AA30B8
RGBrgb(170, 48, 184)
HSLhsl(294, 59%, 45%)
HSVhsv(294, 74%, 72%)
CMYKcmyk(7.6%, 73.9%, 0%, 27.8%)
CIE-LABlab(44.41, 65.38, -46.65)
CIE-LCHlch(44.41, 80.32, 324.49°)
OKLaboklab(54.94% 0.1753 -0.1302)
OKLCHoklch(54.94% 0.218 323.4)
XYZxyz(26.2854, 14.1222, 46.6795)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA30B8 #3EB830
analogous
#6630B8 #AA30B8 #B83082
triadic
#AA30B8 #B8AA30 #30B8AA
tetradic
#AA30B8 #B86630 #3EB830 #3082B8
square
#AA30B8 #B86630 #3EB830 #3082B8
split-complementary
#AA30B8 #82B830 #30B866
monochromatic
#501757 #7D2387 #AA30B8 #C553D2 #D584DF

Accessibility & contrast

On white

5.49
#AA30B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AA30B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA30B8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA30B8#FFFFFF#000000##FFFFFF
##AA30B81.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#476EB5
Tritanopia (blue-blind)
#AD4972
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa30b8;
/* rgb */ color: rgb(170, 48, 184);
/* oklch */ color: oklch(54.9% 0.218 323.4);
Tailwind
colors: {
  custom: {
    50: '#c775ce',
    500: '#aa30b8',
    950: '#000000',
  },
}
SCSS
$custom: #aa30b8;
$custom-light: #c775ce;
$custom-dark: #000000;
JSON
{
  "hex": "#aa30b8",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 293.824,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54941,
    "c": 0.2184,
    "h": 323.4
  },
  "luminance": 0.14121
}

Semantic roles & 50–950 ramp

primary
#AA30B8
secondary
#84C87C
accent
#E24656
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AA30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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