#AA51CF#AA51CF

#AA51CF is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.8% C 0.197 H 314.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AA51CF
RGBrgb(170, 81, 207)
HSLhsl(282, 57%, 56%)
HSVhsv(282, 61%, 81%)
CMYKcmyk(17.9%, 60.9%, 0%, 18.8%)
CIE-LABlab(50.61, 56.23, -50.07)
CIE-LCHlch(50.61, 75.30, 318.32°)
OKLaboklab(59.84% 0.1389 -0.1404)
OKLCHoklch(59.84% 0.197 314.7)
XYZxyz(30.7806, 18.9369, 61.0531)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA51CF #76CF51
analogous
#6B51CF #AA51CF #CF51B5
triadic
#AA51CF #CFAA51 #51CFAA
tetradic
#AA51CF #CF6B51 #76CF51 #51B5CF
square
#AA51CF #CF6B51 #76CF51 #51B5CF
split-complementary
#AA51CF #B5CF51 #51CF6B
monochromatic
#662482 #8C31B2 #AA51CF #C181DC #D9B1E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA51CF#FFFFFF#000000##000000
##AA51CF1.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)
#2773D3
Deuteranopia (green-blind)
#4E7BCC
Tritanopia (blue-blind)
#A76889
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa51cf;
/* rgb */ color: rgb(170, 81, 207);
/* oklch */ color: oklch(59.8% 0.197 314.7);
Tailwind
colors: {
  custom: {
    50: '#c687de',
    500: '#aa51cf',
    950: '#000000',
  },
}
SCSS
$custom: #aa51cf;
$custom-light: #c687de;
$custom-dark: #000000;
JSON
{
  "hex": "#aa51cf",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 282.381,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59838,
    "c": 0.19748,
    "h": 314.7
  },
  "luminance": 0.18936
}

Semantic roles & 50–950 ramp

primary
#AA51CF
secondary
#B3D8A4
accent
#E04874
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA51CF

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

Preview Lab → · Contrast checker → · Palette generator →

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