#AA52F3#AA52F3

#AA52F3 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.3% C 0.233 H 305.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AA52F3
RGBrgb(170, 82, 243)
HSLhsl(273, 87%, 64%)
HSVhsv(273, 66%, 95%)
CMYKcmyk(30%, 66.3%, 0%, 4.7%)
CIE-LABlab(53.01, 63.55, -66.58)
CIE-LCHlch(53.01, 92.04, 313.66°)
OKLaboklab(62.28% 0.1359 -0.1888)
OKLCHoklch(62.28% 0.233 305.7)
XYZxyz(35.7690, 21.0520, 86.9557)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52F3 #9BF352
analogous
#5952F3 #AA52F3 #F352EB
triadic
#AA52F3 #F3AA52 #52F3AA
tetradic
#AA52F3 #F35952 #9BF352 #52EBF3
square
#AA52F3 #F35952 #9BF352 #52EBF3
split-complementary
#AA52F3 #EBF352 #52F359
monochromatic
#6E0DBD #8E19EF #AA52F3 #C68BF7 #E2C4FB

Accessibility & contrast

On white

4.03
#AA52F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AA52F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52F3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52F3#FFFFFF#000000##000000
##AA52F31.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#227FEF
Tritanopia (blue-blind)
#9D759C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa52f3;
/* rgb */ color: rgb(170, 82, 243);
/* oklch */ color: oklch(62.3% 0.233 305.7);
Tailwind
colors: {
  custom: {
    50: '#c888f8',
    500: '#aa52f3',
    950: '#000000',
  },
}
SCSS
$custom: #aa52f3;
$custom-light: #c888f8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52f3",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 272.795,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62275,
    "c": 0.23263,
    "h": 305.7
  },
  "luminance": 0.21052
}

Semantic roles & 50–950 ramp

primary
#AA52F3
secondary
#CEEDB4
accent
#E40268
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA52F3

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

Preview Lab → · Contrast checker → · Palette generator →

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