#AA48BA#AA48BA

#AA48BA is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.5% C 0.190 H 321.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AA48BA
RGBrgb(170, 72, 186)
HSLhsl(292, 45%, 51%)
HSVhsv(292, 61%, 73%)
CMYKcmyk(8.6%, 61.3%, 0%, 27.1%)
CIE-LABlab(47.91, 56.23, -42.24)
CIE-LCHlch(47.91, 70.33, 323.09°)
OKLaboklab(57.5% 0.1494 -0.1175)
OKLCHoklch(57.5% 0.19 321.8)
XYZxyz(27.7569, 16.7273, 48.2115)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA48BA #58BA48
analogous
#7148BA #AA48BA #BA4891
triadic
#AA48BA #BAAA48 #48BAAA
tetradic
#AA48BA #BA7148 #58BA48 #4891BA
square
#AA48BA #BA7148 #58BA48 #4891BA
split-complementary
#AA48BA #91BA48 #48BA71
monochromatic
#5A2562 #82368F #AA48BA #BF74CB #D3A1DC

Accessibility & contrast

On white

4.83
#AA48BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AA48BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA48BA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA48BA#FFFFFF#000000##FFFFFF
##AA48BA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBD
Deuteranopia (green-blind)
#5575B7
Tritanopia (blue-blind)
#AC5A7A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa48ba;
/* rgb */ color: rgb(170, 72, 186);
/* oklch */ color: oklch(57.5% 0.190 321.8);
Tailwind
colors: {
  custom: {
    50: '#c681cf',
    500: '#aa48ba',
    950: '#000000',
  },
}
SCSS
$custom: #aa48ba;
$custom-light: #c681cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa48ba",
  "rgb": {
    "r": 170,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 291.579,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.575,
    "c": 0.19011,
    "h": 321.8
  },
  "luminance": 0.16726
}

Semantic roles & 50–950 ramp

primary
#AA48BA
secondary
#9DC896
accent
#D55365
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA48BA

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

Preview Lab → · Contrast checker → · Palette generator →

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