#AA4FC2#AA4FC2

#AA4FC2 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.8% C 0.188 H 318.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AA4FC2
RGBrgb(170, 79, 194)
HSLhsl(287, 49%, 54%)
HSVhsv(287, 59%, 76%)
CMYKcmyk(12.4%, 59.3%, 0%, 23.9%)
CIE-LABlab(49.54, 54.54, -44.31)
CIE-LCHlch(49.54, 70.27, 320.91°)
OKLaboklab(58.82% 0.141 -0.1236)
OKLCHoklch(58.82% 0.188 318.8)
XYZxyz(29.1099, 18.0343, 52.9761)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FC2 #67C24F
analogous
#704FC2 #AA4FC2 #C24FA0
triadic
#AA4FC2 #C2AA4F #4FC2AA
tetradic
#AA4FC2 #C2704F #67C24F #4FA0C2
square
#AA4FC2 #C2704F #67C24F #4FA0C2
split-complementary
#AA4FC2 #A0C24F #4FC270
monochromatic
#612770 #88379D #AA4FC2 #C07CD2 #D6AAE2

Accessibility & contrast

On white

4.56
#AA4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AA4FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FC2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FC2#FFFFFF#000000##000000
##AA4FC21.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3370C6
Deuteranopia (green-blind)
#5679BF
Tritanopia (blue-blind)
#AA6281
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa4fc2;
/* rgb */ color: rgb(170, 79, 194);
/* oklch */ color: oklch(58.8% 0.188 318.8);
Tailwind
colors: {
  custom: {
    50: '#c685d5',
    500: '#aa4fc2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fc2;
$custom-light: #c685d5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fc2",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 287.478,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58821,
    "c": 0.18752,
    "h": 318.8
  },
  "luminance": 0.18033
}

Semantic roles & 50–950 ramp

primary
#AA4FC2
secondary
#A8CF9E
accent
#D8506C
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA4FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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