#AA52DE#AA52DE

#AA52DE is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.9% C 0.211 H 310.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AA52DE
RGBrgb(170, 82, 222)
HSLhsl(278, 68%, 60%)
HSVhsv(278, 63%, 87%)
CMYKcmyk(23.4%, 63.1%, 0%, 12.9%)
CIE-LABlab(51.67, 58.93, -56.92)
CIE-LCHlch(51.67, 81.93, 316.00°)
OKLaboklab(60.89% 0.1374 -0.1605)
OKLCHoklch(60.89% 0.211 310.6)
XYZxyz(32.7772, 19.8553, 71.1989)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52DE #86DE52
analogous
#6452DE #AA52DE #DE52CC
triadic
#AA52DE #DEAA52 #52DEAA
tetradic
#AA52DE #DE6452 #86DE52 #52CCDE
square
#AA52DE #DE6452 #86DE52 #52CCDE
split-complementary
#AA52DE #CCDE52 #52DE64
monochromatic
#6B1D99 #8F27CC #AA52DE #C385E8 #DDB9F2

Accessibility & contrast

On white

4.22
#AA52DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AA52DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52DE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52DE#FFFFFF#000000##000000
##AA52DE1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0177E2
Deuteranopia (green-blind)
#427DDB
Tritanopia (blue-blind)
#A36E91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa52de;
/* rgb */ color: rgb(170, 82, 222);
/* oklch */ color: oklch(60.9% 0.211 310.6);
Tailwind
colors: {
  custom: {
    50: '#c788e9',
    500: '#aa52de',
    950: '#000000',
  },
}
SCSS
$custom: #aa52de;
$custom-light: #c788e9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52de",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 277.714,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60891,
    "c": 0.21124,
    "h": 310.6
  },
  "luminance": 0.19855
}

Semantic roles & 50–950 ramp

primary
#AA52DE
secondary
#BFE1AB
accent
#EB3D7E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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