#AA48BB#AA48BB

#AA48BB is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.6% C 0.191 H 321.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AA48BB
RGBrgb(170, 72, 187)
HSLhsl(291, 46%, 51%)
HSVhsv(291, 61%, 73%)
CMYKcmyk(9.1%, 61.5%, 0%, 26.7%)
CIE-LABlab(47.97, 56.42, -42.74)
CIE-LCHlch(47.97, 70.78, 322.86°)
OKLaboklab(57.56% 0.1495 -0.119)
OKLCHoklch(57.56% 0.191 321.5)
XYZxyz(27.8636, 16.7700, 48.7733)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA48BB #59BB48
analogous
#7048BB #AA48BB #BB4893
triadic
#AA48BB #BBAA48 #48BBAA
tetradic
#AA48BB #BB7048 #59BB48 #4893BB
square
#AA48BB #BB7048 #59BB48 #4893BB
split-complementary
#AA48BB #93BB48 #48BB70
monochromatic
#5A2564 #833690 #AA48BB #BF75CC #D3A1DC

Accessibility & contrast

On white

4.82
#AA48BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA48BB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA48BB#FFFFFF#000000##FFFFFF
##AA48BB1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#5576B8
Tritanopia (blue-blind)
#AC5A7B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa48bb;
/* rgb */ color: rgb(170, 72, 187);
/* oklch */ color: oklch(57.6% 0.191 321.5);
Tailwind
colors: {
  custom: {
    50: '#c681d0',
    500: '#aa48bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa48bb;
$custom-light: #c681d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa48bb",
  "rgb": {
    "r": 170,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 291.13,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57557,
    "c": 0.19103,
    "h": 321.5
  },
  "luminance": 0.16769
}

Semantic roles & 50–950 ramp

primary
#AA48BB
secondary
#9DC996
accent
#D55266
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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