#AA4FD7#AA4FD7

#AA4FD7 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.1% C 0.208 H 312.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AA4FD7
RGBrgb(170, 79, 215)
HSLhsl(280, 63%, 58%)
HSVhsv(280, 63%, 84%)
CMYKcmyk(20.9%, 63.3%, 0%, 15.7%)
CIE-LABlab(50.74, 58.84, -54.44)
CIE-LCHlch(50.74, 80.16, 317.23°)
OKLaboklab(60.08% 0.1411 -0.1532)
OKLCHoklch(60.08% 0.208 312.7)
XYZxyz(31.6371, 19.0452, 66.2863)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FD7 #7CD74F
analogous
#664FD7 #AA4FD7 #D74FC0
triadic
#AA4FD7 #D7AA4F #4FD7AA
tetradic
#AA4FD7 #D7664F #7CD74F #4FC0D7
square
#AA4FD7 #D7664F #7CD74F #4FC0D7
split-complementary
#AA4FD7 #C0D74F #4FD766
monochromatic
#68208C #8D2BBE #AA4FD7 #C281E2 #DAB3EE

Accessibility & contrast

On white

4.37
#AA4FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AA4FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FD7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FD7#FFFFFF#000000##000000
##AA4FD71.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E74DB
Deuteranopia (green-blind)
#457BD4
Tritanopia (blue-blind)
#A5698C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa4fd7;
/* rgb */ color: rgb(170, 79, 215);
/* oklch */ color: oklch(60.1% 0.208 312.7);
Tailwind
colors: {
  custom: {
    50: '#c786e4',
    500: '#aa4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fd7;
$custom-light: #c786e4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fd7",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 280.147,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60081,
    "c": 0.20828,
    "h": 312.7
  },
  "luminance": 0.19044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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