#AA55EC#AA55EC

#AA55EC is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.2% C 0.222 H 306.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AA55EC
RGBrgb(170, 85, 236)
HSLhsl(274, 80%, 63%)
HSVhsv(274, 64%, 93%)
CMYKcmyk(28%, 64%, 0%, 7.5%)
CIE-LABlab(53.06, 60.59, -62.58)
CIE-LCHlch(53.06, 87.11, 314.08°)
OKLaboklab(62.17% 0.1332 -0.1771)
OKLCHoklch(62.17% 0.222 306.9)
XYZxyz(34.9632, 21.0996, 81.5714)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA55EC #97EC55
analogous
#5E55EC #AA55EC #EC55E2
triadic
#AA55EC #ECAA55 #55ECAA
tetradic
#AA55EC #EC5E55 #97EC55 #55E2EC
square
#AA55EC #EC5E55 #97EC55 #55E2EC
split-complementary
#AA55EC #E2EC55 #55EC5E
monochromatic
#6D14B3 #8E1EE6 #AA55EC #C68CF2 #E1C3F8

Accessibility & contrast

On white

4.02
#AA55EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AA55EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA55EC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA55EC#FFFFFF#000000##000000
##AA55EC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#347FE9
Tritanopia (blue-blind)
#9F7599
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa55ec;
/* rgb */ color: rgb(170, 85, 236);
/* oklch */ color: oklch(62.2% 0.222 306.9);
Tailwind
colors: {
  custom: {
    50: '#c88af3',
    500: '#aa55ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa55ec;
$custom-light: #c88af3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa55ec",
  "rgb": {
    "r": 170,
    "g": 85,
    "b": 236
  },
  "hsl": {
    "h": 273.775,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62169,
    "c": 0.22161,
    "h": 306.9
  },
  "luminance": 0.21099
}

Semantic roles & 50–950 ramp

primary
#AA55EC
secondary
#CBEAB3
accent
#DC0965
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA55EC

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

Preview Lab → · Contrast checker → · Palette generator →

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