#AA52ED#AA52ED

#AA52ED is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.9% C 0.227 H 307.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AA52ED
RGBrgb(170, 82, 237)
HSLhsl(274, 81%, 63%)
HSVhsv(274, 65%, 93%)
CMYKcmyk(28.3%, 65.4%, 0%, 7.1%)
CIE-LABlab(52.61, 62.21, -63.85)
CIE-LCHlch(52.61, 89.15, 314.25°)
OKLaboklab(61.87% 0.1364 -0.1808)
OKLCHoklch(61.87% 0.227 307)
XYZxyz(34.8777, 20.6955, 82.2616)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52ED #95ED52
analogous
#5D52ED #AA52ED #ED52E2
triadic
#AA52ED #EDAA52 #52EDAA
tetradic
#AA52ED #ED5D52 #95ED52 #52E2ED
square
#AA52ED #ED5D52 #95ED52 #52E2ED
split-complementary
#AA52ED #E2ED52 #52ED5D
monochromatic
#6D13B2 #8F1BE7 #AA52ED #C589F3 #E0C1F9

Accessibility & contrast

On white

4.09
#AA52ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#AA52ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52ED
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52ED#FFFFFF#000000##000000
##AA52ED1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#2E7EEA
Tritanopia (blue-blind)
#9F7399
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa52ed;
/* rgb */ color: rgb(170, 82, 237);
/* oklch */ color: oklch(61.9% 0.227 307.0);
Tailwind
colors: {
  custom: {
    50: '#c888f4',
    500: '#aa52ed',
    950: '#000000',
  },
}
SCSS
$custom: #aa52ed;
$custom-light: #c888f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52ed",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 274.065,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6187,
    "c": 0.22652,
    "h": 307
  },
  "luminance": 0.20695
}

Semantic roles & 50–950 ramp

primary
#AA52ED
secondary
#CAEAB1
accent
#DE0864
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA52ED

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

Preview Lab → · Contrast checker → · Palette generator →

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