#AA4CD8#AA4CD8

#AA4CD8 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.8% C 0.213 H 312.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AA4CD8
RGBrgb(170, 76, 216)
HSLhsl(280, 64%, 57%)
HSVhsv(280, 65%, 85%)
CMYKcmyk(21.3%, 64.8%, 0%, 15.3%)
CIE-LABlab(50.30, 60.42, -55.71)
CIE-LCHlch(50.30, 82.18, 317.33°)
OKLaboklab(59.79% 0.1445 -0.1569)
OKLCHoklch(59.79% 0.213 312.6)
XYZxyz(31.5545, 18.6737, 66.8946)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4CD8 #7AD84C
analogous
#644CD8 #AA4CD8 #D84CC0
triadic
#AA4CD8 #D8AA4C #4CD8AA
tetradic
#AA4CD8 #D8644C #7AD84C #4CC0D8
square
#AA4CD8 #D8644C #7AD84C #4CC0D8
split-complementary
#AA4CD8 #C0D84C #4CD864
monochromatic
#671E8B #8D29BE #AA4CD8 #C27EE3 #DAB1EE

Accessibility & contrast

On white

4.44
#AA4CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AA4CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4CD8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4CD8#FFFFFF#000000##000000
##AA4CD81.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#417AD5
Tritanopia (blue-blind)
#A5688C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa4cd8;
/* rgb */ color: rgb(170, 76, 216);
/* oklch */ color: oklch(59.8% 0.213 312.6);
Tailwind
colors: {
  custom: {
    50: '#c784e5',
    500: '#aa4cd8',
    950: '#000000',
  },
}
SCSS
$custom: #aa4cd8;
$custom-light: #c784e5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4cd8",
  "rgb": {
    "r": 170,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 280.286,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59785,
    "c": 0.21329,
    "h": 312.6
  },
  "luminance": 0.18673
}

Semantic roles & 50–950 ramp

primary
#AA4CD8
secondary
#B6DCA4
accent
#E74177
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #AA4CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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