#AA4ED7#AA4ED7

#AA4ED7 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.0% C 0.210 H 312.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AA4ED7
RGBrgb(170, 78, 215)
HSLhsl(280, 63%, 57%)
HSVhsv(280, 64%, 84%)
CMYKcmyk(20.9%, 63.7%, 0%, 15.7%)
CIE-LABlab(50.57, 59.30, -54.71)
CIE-LCHlch(50.57, 80.68, 317.31°)
OKLaboklab(59.96% 0.1423 -0.154)
OKLCHoklch(59.96% 0.21 312.7)
XYZxyz(31.5655, 18.9020, 66.2624)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4ED7 #7BD74E
analogous
#654ED7 #AA4ED7 #D74EC0
triadic
#AA4ED7 #D7AA4E #4ED7AA
tetradic
#AA4ED7 #D7654E #7BD74E #4EC0D7
square
#AA4ED7 #D7654E #7BD74E #4EC0D7
split-complementary
#AA4ED7 #C0D74E #4ED765
monochromatic
#681F8B #8D2BBD #AA4ED7 #C280E2 #DAB2EE

Accessibility & contrast

On white

4.39
#AA4ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AA4ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4ED7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4ED7#FFFFFF#000000##000000
##AA4ED71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0774DB
Deuteranopia (green-blind)
#447AD4
Tritanopia (blue-blind)
#A5688C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa4ed7;
/* rgb */ color: rgb(170, 78, 215);
/* oklch */ color: oklch(60.0% 0.210 312.7);
Tailwind
colors: {
  custom: {
    50: '#c785e4',
    500: '#aa4ed7',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ed7;
$custom-light: #c785e4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ed7",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 280.292,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5996,
    "c": 0.20964,
    "h": 312.7
  },
  "luminance": 0.18901
}

Semantic roles & 50–950 ramp

primary
#AA4ED7
secondary
#B7DCA5
accent
#E64278
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #AA4ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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