#AA56EA#AA56EA

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

Color values

HEX#AA56EA
RGBrgb(170, 86, 234)
HSLhsl(274, 78%, 63%)
HSVhsv(274, 63%, 92%)
CMYKcmyk(27.4%, 63.2%, 0%, 8.2%)
CIE-LABlab(53.11, 59.67, -61.38)
CIE-LCHlch(53.11, 85.61, 314.19°)
OKLaboklab(62.16% 0.1322 -0.1736)
OKLCHoklch(62.16% 0.218 307.3)
XYZxyz(34.7535, 21.1426, 80.0760)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56EA #96EA56
analogous
#6056EA #AA56EA #EA56E0
triadic
#AA56EA #EAAA56 #56EAAA
tetradic
#AA56EA #EA6056 #96EA56 #56E0EA
square
#AA56EA #EA6056 #96EA56 #56E0EA
split-complementary
#AA56EA #E0EA56 #56EA60
monochromatic
#6D16B0 #8F20E3 #AA56EA #C58CF1 #E1C3F8

Accessibility & contrast

On white

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

On black

5.23
#AA56EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56EA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56EA#FFFFFF#000000##000000
##AA56EA1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#3880E7
Tritanopia (blue-blind)
#A07599
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa56ea;
/* rgb */ color: rgb(170, 86, 234);
/* oklch */ color: oklch(62.2% 0.218 307.3);
Tailwind
colors: {
  custom: {
    50: '#c88af1',
    500: '#aa56ea',
    950: '#000000',
  },
}
SCSS
$custom: #aa56ea;
$custom-light: #c88af1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56ea",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 274.054,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62162,
    "c": 0.2182,
    "h": 307.3
  },
  "luminance": 0.21142
}

Semantic roles & 50–950 ramp

primary
#AA56EA
secondary
#CAE9B3
accent
#DA0B65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA56EA

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

Preview Lab → · Contrast checker → · Palette generator →

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