#AA56E7#AA56E7

#AA56E7 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 62.0% C 0.215 H 308.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AA56E7
RGBrgb(170, 86, 231)
HSLhsl(275, 75%, 62%)
HSVhsv(275, 63%, 91%)
CMYKcmyk(26.4%, 62.8%, 0%, 9.4%)
CIE-LABlab(52.92, 59.01, -60.00)
CIE-LCHlch(52.92, 84.15, 314.52°)
OKLaboklab(61.97% 0.1324 -0.1695)
OKLCHoklch(61.97% 0.215 308)
XYZxyz(34.3262, 20.9716, 77.8254)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56E7 #93E756
analogous
#6256E7 #AA56E7 #E756DB
triadic
#AA56E7 #E7AA56 #56E7AA
tetradic
#AA56E7 #E76256 #93E756 #56DBE7
square
#AA56E7 #E76256 #93E756 #56DBE7
split-complementary
#AA56E7 #DBE756 #56E762
monochromatic
#6D18AA #8F20DF #AA56E7 #C58CEF #E0C1F6

Accessibility & contrast

On white

4.04
#AA56E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#AA56E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56E7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56E7#FFFFFF#000000##000000
##AA56E71.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#3C7FE4
Tritanopia (blue-blind)
#A17497
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa56e7;
/* rgb */ color: rgb(170, 86, 231);
/* oklch */ color: oklch(62.0% 0.215 308.0);
Tailwind
colors: {
  custom: {
    50: '#c78aef',
    500: '#aa56e7',
    950: '#000000',
  },
}
SCSS
$custom: #aa56e7;
$custom-light: #c78aef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56e7",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 274.759,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61968,
    "c": 0.21508,
    "h": 308
  },
  "luminance": 0.20971
}

Semantic roles & 50–950 ramp

primary
#AA56E7
secondary
#C8E7B2
accent
#D70E63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #AA56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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