#AA51DA#AA51DA

#AA51DA is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.5% C 0.209 H 311.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AA51DA
RGBrgb(170, 81, 218)
HSLhsl(279, 65%, 59%)
HSVhsv(279, 63%, 85%)
CMYKcmyk(22%, 62.8%, 0%, 14.5%)
CIE-LABlab(51.26, 58.55, -55.31)
CIE-LCHlch(51.26, 80.54, 316.63°)
OKLaboklab(60.51% 0.1387 -0.1557)
OKLCHoklch(60.51% 0.209 311.7)
XYZxyz(32.1726, 19.4936, 68.3839)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA51DA #81DA51
analogous
#6551DA #AA51DA #DA51C5
triadic
#AA51DA #DAAA51 #51DAAA
tetradic
#AA51DA #DA6551 #81DA51 #51C5DA
square
#AA51DA #DA6551 #81DA51 #51C5DA
split-complementary
#AA51DA #C5DA51 #51DA65
monochromatic
#691F92 #8E2AC4 #AA51DA #C383E5 #DBB6EF

Accessibility & contrast

On white

4.29
#AA51DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#AA51DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA51DA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA51DA#FFFFFF#000000##000000
##AA51DA1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D76DE
Deuteranopia (green-blind)
#447CD7
Tritanopia (blue-blind)
#A46C8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa51da;
/* rgb */ color: rgb(170, 81, 218);
/* oklch */ color: oklch(60.5% 0.209 311.7);
Tailwind
colors: {
  custom: {
    50: '#c787e6',
    500: '#aa51da',
    950: '#000000',
  },
}
SCSS
$custom: #aa51da;
$custom-light: #c787e6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa51da",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 278.978,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60514,
    "c": 0.20855,
    "h": 311.7
  },
  "luminance": 0.19493
}

Semantic roles & 50–950 ramp

primary
#AA51DA
secondary
#BBDEA8
accent
#E8407B
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA51DA

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

Preview Lab → · Contrast checker → · Palette generator →

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