#AA56ED#AA56ED

#AA56ED is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.4% C 0.221 H 306.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AA56ED
RGBrgb(170, 86, 237)
HSLhsl(273, 81%, 63%)
HSVhsv(273, 64%, 93%)
CMYKcmyk(28.3%, 63.7%, 0%, 7.1%)
CIE-LABlab(53.29, 60.34, -62.76)
CIE-LCHlch(53.29, 87.06, 313.88°)
OKLaboklab(62.36% 0.132 -0.1776)
OKLCHoklch(62.36% 0.221 306.6)
XYZxyz(35.1882, 21.3164, 82.3651)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56ED #99ED56
analogous
#5E56ED #AA56ED #ED56E5
triadic
#AA56ED #EDAA56 #56EDAA
tetradic
#AA56ED #ED5E56 #99ED56 #56E5ED
square
#AA56ED #ED5E56 #99ED56 #56E5ED
split-complementary
#AA56ED #E5ED56 #56ED5E
monochromatic
#6D13B5 #8E1FE7 #AA56ED #C68DF3 #E2C5F9

Accessibility & contrast

On white

3.99
#AA56ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#AA56ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56ED
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56ED#FFFFFF#000000##000000
##AA56ED1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#3480EA
Tritanopia (blue-blind)
#9F769A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa56ed;
/* rgb */ color: rgb(170, 86, 237);
/* oklch */ color: oklch(62.4% 0.221 306.6);
Tailwind
colors: {
  custom: {
    50: '#c88af4',
    500: '#aa56ed',
    950: '#000000',
  },
}
SCSS
$custom: #aa56ed;
$custom-light: #c88af4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56ed",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 273.377,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62359,
    "c": 0.22133,
    "h": 306.6
  },
  "luminance": 0.21316
}

Semantic roles & 50–950 ramp

primary
#AA56ED
secondary
#CCEAB4
accent
#DD0867
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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