#A56AE3#A56AE3

#A56AE3 is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.0% C 0.180 H 304.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A56AE3
RGBrgb(165, 106, 227)
HSLhsl(269, 68%, 65%)
HSVhsv(269, 53%, 89%)
CMYKcmyk(27.3%, 53.3%, 0%, 11%)
CIE-LABlab(55.94, 46.69, -52.94)
CIE-LCHlch(55.94, 70.59, 311.41°)
OKLaboklab(63.97% 0.1017 -0.1491)
OKLCHoklch(63.97% 0.18 304.3)
XYZxyz(34.5332, 23.8536, 75.4431)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56AE3 #A8E36A
analogous
#6A6BE3 #A56AE3 #E16AE3
triadic
#A56AE3 #E3A56A #6AE3A5
tetradic
#A56AE3 #E36A6B #A8E36A #6AE3E1
square
#A56AE3 #E36A6B #A8E36A #6AE3E1
split-complementary
#A56AE3 #E3E16A #6BE36A
monochromatic
#6821B1 #8636D9 #A56AE3 #C49EED #E3D1F6

Accessibility & contrast

On white

3.64
#A56AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#A56AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56AE3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56AE3#FFFFFF#000000##000000
##A56AE31.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4084E7
Deuteranopia (green-blind)
#5386E0
Tritanopia (blue-blind)
#9A819D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a56ae3;
/* rgb */ color: rgb(165, 106, 227);
/* oklch */ color: oklch(64.0% 0.180 304.3);
Tailwind
colors: {
  custom: {
    50: '#c396ec',
    500: '#a56ae3',
    950: '#000000',
  },
}
SCSS
$custom: #a56ae3;
$custom-light: #c396ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ae3",
  "rgb": {
    "r": 165,
    "g": 106,
    "b": 227
  },
  "hsl": {
    "h": 269.256,
    "s": 68.362,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63974,
    "c": 0.18043,
    "h": 304.3
  },
  "luminance": 0.23853
}

Semantic roles & 50–950 ramp

primary
#A56AE3
secondary
#D5E9C0
accent
#D01575
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A56AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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