#AA48DB#AA48DB

#AA48DB is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.5% C 0.221 H 312.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AA48DB
RGBrgb(170, 72, 219)
HSLhsl(280, 67%, 57%)
HSVhsv(280, 67%, 86%)
CMYKcmyk(22.4%, 67.1%, 0%, 14.1%)
CIE-LABlab(49.85, 62.82, -58.14)
CIE-LCHlch(49.85, 85.59, 317.22°)
OKLaboklab(59.52% 0.1487 -0.164)
OKLCHoklch(59.52% 0.221 312.2)
XYZxyz(31.6788, 18.2961, 68.8668)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA48DB #79DB48
analogous
#6148DB #AA48DB #DB48C3
triadic
#AA48DB #DBAA48 #48DBAA
tetradic
#AA48DB #DB6148 #79DB48 #48C3DB
square
#AA48DB #DB6148 #79DB48 #48C3DB
split-complementary
#AA48DB #C3DB48 #48DB61
monochromatic
#671C8D #8D26C0 #AA48DB #C27BE5 #DAAEEF

Accessibility & contrast

On white

4.51
#AA48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AA48DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA48DB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA48DB#FFFFFF#000000##000000
##AA48DB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#3A79D8
Tritanopia (blue-blind)
#A4668C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa48db;
/* rgb */ color: rgb(170, 72, 219);
/* oklch */ color: oklch(59.5% 0.221 312.2);
Tailwind
colors: {
  custom: {
    50: '#c782e7',
    500: '#aa48db',
    950: '#000000',
  },
}
SCSS
$custom: #aa48db;
$custom-light: #c782e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa48db",
  "rgb": {
    "r": 170,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 280,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59522,
    "c": 0.22138,
    "h": 312.2
  },
  "luminance": 0.18295
}

Semantic roles & 50–950 ramp

primary
#AA48DB
secondary
#B5DDA2
accent
#EA3E77
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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