#AA51DE#AA51DE

#AA51DE is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.8% C 0.213 H 310.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AA51DE
RGBrgb(170, 81, 222)
HSLhsl(278, 68%, 59%)
HSVhsv(278, 64%, 87%)
CMYKcmyk(23.4%, 63.5%, 0%, 12.9%)
CIE-LABlab(51.50, 59.40, -57.19)
CIE-LCHlch(51.50, 82.46, 316.09°)
OKLaboklab(60.77% 0.1385 -0.1613)
OKLCHoklch(60.77% 0.213 310.7)
XYZxyz(32.7023, 19.7055, 71.1739)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA51DE #85DE51
analogous
#6451DE #AA51DE #DE51CC
triadic
#AA51DE #DEAA51 #51DEAA
tetradic
#AA51DE #DE6451 #85DE51 #51CCDE
square
#AA51DE #DE6451 #85DE51 #51CCDE
split-complementary
#AA51DE #CCDE51 #51DE64
monochromatic
#6A1D98 #8F27CB #AA51DE #C384E8 #DCB8F2

Accessibility & contrast

On white

4.25
#AA51DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AA51DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA51DE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA51DE#FFFFFF#000000##000000
##AA51DE1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E2
Deuteranopia (green-blind)
#407CDB
Tritanopia (blue-blind)
#A36D90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa51de;
/* rgb */ color: rgb(170, 81, 222);
/* oklch */ color: oklch(60.8% 0.213 310.7);
Tailwind
colors: {
  custom: {
    50: '#c787e9',
    500: '#aa51de',
    950: '#000000',
  },
}
SCSS
$custom: #aa51de;
$custom-light: #c787e9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa51de",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 277.872,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60768,
    "c": 0.21259,
    "h": 310.7
  },
  "luminance": 0.19705
}

Semantic roles & 50–950 ramp

primary
#AA51DE
secondary
#BEE1AA
accent
#EB3D7D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA51DE

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

Preview Lab → · Contrast checker → · Palette generator →

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