#AA51D9#AA51D9

#AA51D9 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.208 H 311.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AA51D9
RGBrgb(170, 81, 217)
HSLhsl(279, 64%, 58%)
HSVhsv(279, 63%, 85%)
CMYKcmyk(21.7%, 62.7%, 0%, 14.9%)
CIE-LABlab(51.20, 58.33, -54.84)
CIE-LCHlch(51.20, 80.06, 316.77°)
OKLaboklab(60.45% 0.1387 -0.1544)
OKLCHoklch(60.45% 0.208 311.9)
XYZxyz(32.0421, 19.4415, 67.6968)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA51D9 #80D951
analogous
#6651D9 #AA51D9 #D951C4
triadic
#AA51D9 #D9AA51 #51D9AA
tetradic
#AA51D9 #D96651 #80D951 #51C4D9
square
#AA51D9 #D96651 #80D951 #51C4D9
split-complementary
#AA51D9 #C4D951 #51D966
monochromatic
#691F90 #8E2AC2 #AA51D9 #C383E4 #DBB5EF

Accessibility & contrast

On white

4.30
#AA51D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AA51D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA51D9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA51D9#FFFFFF#000000##000000
##AA51D91.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1176DD
Deuteranopia (green-blind)
#457CD6
Tritanopia (blue-blind)
#A56B8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa51d9;
/* rgb */ color: rgb(170, 81, 217);
/* oklch */ color: oklch(60.5% 0.208 311.9);
Tailwind
colors: {
  custom: {
    50: '#c787e5',
    500: '#aa51d9',
    950: '#000000',
  },
}
SCSS
$custom: #aa51d9;
$custom-light: #c787e5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa51d9",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 279.265,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60452,
    "c": 0.20754,
    "h": 311.9
  },
  "luminance": 0.19441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA51D9

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

Preview Lab → · Contrast checker → · Palette generator →

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