#AA4FD5#AA4FD5

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

Color values

HEX#AA4FD5
RGBrgb(170, 79, 213)
HSLhsl(281, 61%, 57%)
HSVhsv(281, 63%, 84%)
CMYKcmyk(20.2%, 62.9%, 0%, 16.5%)
CIE-LABlab(50.62, 58.42, -53.49)
CIE-LCHlch(50.62, 79.21, 317.52°)
OKLaboklab(59.96% 0.1412 -0.1504)
OKLCHoklch(59.96% 0.206 313.2)
XYZxyz(31.3817, 18.9430, 64.9411)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FD5 #7AD54F
analogous
#674FD5 #AA4FD5 #D54FBD
triadic
#AA4FD5 #D5AA4F #4FD5AA
tetradic
#AA4FD5 #D5674F #7AD54F #4FBDD5
square
#AA4FD5 #D5674F #7AD54F #4FBDD5
split-complementary
#AA4FD5 #BDD54F #4FD567
monochromatic
#672189 #8D2CBA #AA4FD5 #C280E1 #DAB2ED

Accessibility & contrast

On white

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

On black

4.79
#AA4FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FD5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FD5#FFFFFF#000000##000000
##AA4FD51.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1474D9
Deuteranopia (green-blind)
#477BD2
Tritanopia (blue-blind)
#A6688B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa4fd5;
/* rgb */ color: rgb(170, 79, 213);
/* oklch */ color: oklch(60.0% 0.206 313.2);
Tailwind
colors: {
  custom: {
    50: '#c786e2',
    500: '#aa4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fd5;
$custom-light: #c786e2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fd5",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 280.746,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59956,
    "c": 0.20628,
    "h": 313.2
  },
  "luminance": 0.18942
}

Semantic roles & 50–950 ramp

primary
#AA4FD5
secondary
#B6DBA5
accent
#E54377
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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