#AA28B3#AA28B3

#AA28B3 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.222 H 325.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AA28B3
RGBrgb(170, 40, 179)
HSLhsl(296, 63%, 43%)
HSVhsv(296, 78%, 70%)
CMYKcmyk(5%, 77.7%, 0%, 29.8%)
CIE-LABlab(43.24, 67.01, -45.58)
CIE-LCHlch(43.24, 81.04, 325.78°)
OKLaboklab(54.02% 0.1825 -0.127)
OKLCHoklch(54.02% 0.222 325.2)
XYZxyz(25.4724, 13.3200, 43.8685)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA28B3 #31B328
analogous
#6428B3 #AA28B3 #B32876
triadic
#AA28B3 #B3AA28 #28B3AA
tetradic
#AA28B3 #B36428 #31B328 #2876B3
square
#AA28B3 #B36428 #31B328 #2876B3
split-complementary
#AA28B3 #76B328 #28B364
monochromatic
#4B124F #7A1D81 #AA28B3 #CC43D5 #D975E0

Accessibility & contrast

On white

5.73
#AA28B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AA28B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA28B3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA28B3#FFFFFF#000000##FFFFFF
##AA28B31.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#476BB0
Tritanopia (blue-blind)
#AE426D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa28b3;
/* rgb */ color: rgb(170, 40, 179);
/* oklch */ color: oklch(54.0% 0.222 325.2);
Tailwind
colors: {
  custom: {
    50: '#c772ca',
    500: '#aa28b3',
    950: '#000000',
  },
}
SCSS
$custom: #aa28b3;
$custom-light: #c772ca;
$custom-dark: #000000;
JSON
{
  "hex": "#aa28b3",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 296.115,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54016,
    "c": 0.22234,
    "h": 325.2
  },
  "luminance": 0.13318
}

Semantic roles & 50–950 ramp

primary
#AA28B3
secondary
#75C86F
accent
#E6414C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA28B3

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

Preview Lab → · Contrast checker → · Palette generator →

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