#A56AEE#A56AEE

#A56AEE is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.6% C 0.193 H 301.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A56AEE
RGBrgb(165, 106, 238)
HSLhsl(267, 80%, 67%)
HSVhsv(267, 55%, 93%)
CMYKcmyk(30.7%, 55.5%, 0%, 6.7%)
CIE-LABlab(56.57, 49.32, -58.09)
CIE-LCHlch(56.57, 76.20, 310.33°)
OKLaboklab(64.64% 0.1021 -0.1642)
OKLCHoklch(64.64% 0.193 301.9)
XYZxyz(36.1001, 24.4804, 83.6957)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56AEE #B3EE6A
analogous
#6A71EE #A56AEE #E76AEE
triadic
#A56AEE #EEA56A #6AEEA5
tetradic
#A56AEE #EE6A71 #B3EE6A #6AEEE7
square
#A56AEE #EE6A71 #B3EE6A #6AEEE7
split-complementary
#A56AEE #EEE76A #71EE6A
monochromatic
#6517C7 #8433E8 #A56AEE #C6A1F4 #E7D8FB

Accessibility & contrast

On white

3.56
#A56AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#A56AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56AEE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56AEE#FFFFFF#000000##000000
##A56AEE1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F2
Deuteranopia (green-blind)
#4987EB
Tritanopia (blue-blind)
#9784A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a56aee;
/* rgb */ color: rgb(165, 106, 238);
/* oklch */ color: oklch(64.6% 0.193 301.9);
Tailwind
colors: {
  custom: {
    50: '#c397f4',
    500: '#a56aee',
    950: '#000000',
  },
}
SCSS
$custom: #a56aee;
$custom-light: #c397f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a56aee",
  "rgb": {
    "r": 165,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 266.818,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64636,
    "c": 0.19332,
    "h": 301.9
  },
  "luminance": 0.2448
}

Semantic roles & 50–950 ramp

primary
#A56AEE
secondary
#DCEFC5
accent
#DC0A7E
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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