#AA4FD2#AA4FD2

#AA4FD2 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.8% C 0.203 H 314.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AA4FD2
RGBrgb(170, 79, 210)
HSLhsl(282, 59%, 57%)
HSVhsv(282, 62%, 82%)
CMYKcmyk(19%, 62.4%, 0%, 17.6%)
CIE-LABlab(50.44, 57.80, -52.06)
CIE-LCHlch(50.44, 77.79, 317.99°)
OKLaboklab(59.77% 0.1412 -0.1462)
OKLCHoklch(59.77% 0.203 314)
XYZxyz(31.0045, 18.7921, 62.9543)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FD2 #77D24F
analogous
#694FD2 #AA4FD2 #D24FB9
triadic
#AA4FD2 #D2AA4F #4FD2AA
tetradic
#AA4FD2 #D2694F #77D24F #4FB9D2
square
#AA4FD2 #D2694F #77D24F #4FB9D2
split-complementary
#AA4FD2 #B9D24F #4FD269
monochromatic
#672285 #8C2EB5 #AA4FD2 #C280DE #D9B0EB

Accessibility & contrast

On white

4.41
#AA4FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AA4FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FD2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FD2#FFFFFF#000000##000000
##AA4FD21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C73D6
Deuteranopia (green-blind)
#4A7ACF
Tritanopia (blue-blind)
#A66789
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa4fd2;
/* rgb */ color: rgb(170, 79, 210);
/* oklch */ color: oklch(59.8% 0.203 314.0);
Tailwind
colors: {
  custom: {
    50: '#c786e0',
    500: '#aa4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fd2;
$custom-light: #c786e0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fd2",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 281.679,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59771,
    "c": 0.2033,
    "h": 314
  },
  "luminance": 0.18791
}

Semantic roles & 50–950 ramp

primary
#AA4FD2
secondary
#B4D9A4
accent
#E24575
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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