#AA51CA#AA51CA

#AA51CA is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.5% C 0.192 H 316.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AA51CA
RGBrgb(170, 81, 202)
HSLhsl(284, 53%, 55%)
HSVhsv(284, 60%, 79%)
CMYKcmyk(15.8%, 59.9%, 0%, 20.8%)
CIE-LABlab(50.33, 55.20, -47.66)
CIE-LCHlch(50.33, 72.93, 319.20°)
OKLaboklab(59.54% 0.1388 -0.1334)
OKLCHoklch(59.54% 0.192 316.1)
XYZxyz(30.1790, 18.6962, 57.8847)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA51CA #71CA51
analogous
#6D51CA #AA51CA #CA51AE
triadic
#AA51CA #CAAA51 #51CAAA
tetradic
#AA51CA #CA6D51 #71CA51 #51AECA
square
#AA51CA #CA6D51 #71CA51 #51AECA
split-complementary
#AA51CA #AECA51 #51CA6D
monochromatic
#64257B #8B34AA #AA51CA #C180D8 #D8AFE7

Accessibility & contrast

On white

4.43
#AA51CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#AA51CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA51CA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA51CA#FFFFFF#000000##000000
##AA51CA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E72CE
Deuteranopia (green-blind)
#527AC7
Tritanopia (blue-blind)
#A86686
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa51ca;
/* rgb */ color: rgb(170, 81, 202);
/* oklch */ color: oklch(59.5% 0.192 316.1);
Tailwind
colors: {
  custom: {
    50: '#c687db',
    500: '#aa51ca',
    950: '#000000',
  },
}
SCSS
$custom: #aa51ca;
$custom-light: #c687db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa51ca",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 284.132,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59541,
    "c": 0.19248,
    "h": 316.1
  },
  "luminance": 0.18695
}

Semantic roles & 50–950 ramp

primary
#AA51CA
secondary
#B0D5A2
accent
#DD4B72
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA51CA

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

Preview Lab → · Contrast checker → · Palette generator →

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