#AA56E8#AA56E8

#AA56E8 is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.0% C 0.216 H 307.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AA56E8
RGBrgb(170, 86, 232)
HSLhsl(275, 76%, 62%)
HSVhsv(275, 63%, 91%)
CMYKcmyk(26.7%, 62.9%, 0%, 9%)
CIE-LABlab(52.98, 59.23, -60.46)
CIE-LCHlch(52.98, 84.63, 314.41°)
OKLaboklab(62.03% 0.1323 -0.1709)
OKLCHoklch(62.03% 0.216 307.8)
XYZxyz(34.4678, 21.0283, 78.5714)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56E8 #94E856
analogous
#6156E8 #AA56E8 #E856DD
triadic
#AA56E8 #E8AA56 #56E8AA
tetradic
#AA56E8 #E86156 #94E856 #56DDE8
square
#AA56E8 #E86156 #94E856 #56DDE8
split-complementary
#AA56E8 #DDE856 #56E861
monochromatic
#6D17AC #8F20E1 #AA56E8 #C58CEF #E0C2F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA56E8#FFFFFF#000000##000000
##AA56E81.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)
#007BED
Deuteranopia (green-blind)
#3B7FE5
Tritanopia (blue-blind)
#A07497
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa56e8;
/* rgb */ color: rgb(170, 86, 232);
/* oklch */ color: oklch(62.0% 0.216 307.8);
Tailwind
colors: {
  custom: {
    50: '#c78af0',
    500: '#aa56e8',
    950: '#000000',
  },
}
SCSS
$custom: #aa56e8;
$custom-light: #c78af0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56e8",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 274.521,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62032,
    "c": 0.21612,
    "h": 307.8
  },
  "luminance": 0.21028
}

Semantic roles & 50–950 ramp

primary
#AA56E8
secondary
#C9E8B2
accent
#D80D63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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