#AA4FC4#AA4FC4

#AA4FC4 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.9% C 0.189 H 318.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AA4FC4
RGBrgb(170, 79, 196)
HSLhsl(287, 50%, 54%)
HSVhsv(287, 60%, 77%)
CMYKcmyk(13.3%, 59.7%, 0%, 23.1%)
CIE-LABlab(49.65, 54.94, -45.29)
CIE-LCHlch(49.65, 71.20, 320.50°)
OKLaboklab(58.94% 0.1411 -0.1264)
OKLCHoklch(58.94% 0.189 318.1)
XYZxyz(29.3360, 18.1247, 54.1670)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FC4 #69C44F
analogous
#704FC4 #AA4FC4 #C44FA4
triadic
#AA4FC4 #C4AA4F #4FC4AA
tetradic
#AA4FC4 #C4704F #69C44F #4FA4C4
square
#AA4FC4 #C4704F #69C44F #4FA4C4
split-complementary
#AA4FC4 #A4C44F #4FC470
monochromatic
#612672 #8836A0 #AA4FC4 #C07DD3 #D6ABE3

Accessibility & contrast

On white

4.54
#AA4FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AA4FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FC4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FC4#FFFFFF#000000##000000
##AA4FC41.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3170C8
Deuteranopia (green-blind)
#5479C1
Tritanopia (blue-blind)
#AA6282
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa4fc4;
/* rgb */ color: rgb(170, 79, 196);
/* oklch */ color: oklch(58.9% 0.189 318.1);
Tailwind
colors: {
  custom: {
    50: '#c685d6',
    500: '#aa4fc4',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fc4;
$custom-light: #c685d6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fc4",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 286.667,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58936,
    "c": 0.18948,
    "h": 318.1
  },
  "luminance": 0.18124
}

Semantic roles & 50–950 ramp

primary
#AA4FC4
secondary
#AAD09E
accent
#D94E6D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA4FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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