#A56AE5#A56AE5

#A56AE5 is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.1% C 0.183 H 303.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A56AE5
RGBrgb(165, 106, 229)
HSLhsl(269, 70%, 66%)
HSVhsv(269, 54%, 90%)
CMYKcmyk(27.9%, 53.7%, 0%, 10.2%)
CIE-LABlab(56.05, 47.16, -53.88)
CIE-LCHlch(56.05, 71.61, 311.20°)
OKLaboklab(64.09% 0.1018 -0.1518)
OKLCHoklch(64.09% 0.183 303.8)
XYZxyz(34.8108, 23.9646, 76.9053)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56AE5 #AAE56A
analogous
#6A6CE5 #A56AE5 #E26AE5
triadic
#A56AE5 #E5A56A #6AE5A5
tetradic
#A56AE5 #E56A6C #AAE56A #6AE5E2
square
#A56AE5 #E56A6C #AAE56A #6AE5E2
split-complementary
#A56AE5 #E5E26A #6CE56A
monochromatic
#6720B5 #8636DC #A56AE5 #C49EEE #E4D2F7

Accessibility & contrast

On white

3.63
#A56AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#A56AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56AE5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56AE5#FFFFFF#000000##000000
##A56AE51.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E85E9
Deuteranopia (green-blind)
#5286E2
Tritanopia (blue-blind)
#9A819E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a56ae5;
/* rgb */ color: rgb(165, 106, 229);
/* oklch */ color: oklch(64.1% 0.183 303.8);
Tailwind
colors: {
  custom: {
    50: '#c396ee',
    500: '#a56ae5',
    950: '#000000',
  },
}
SCSS
$custom: #a56ae5;
$custom-light: #c396ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a56ae5",
  "rgb": {
    "r": 165,
    "g": 106,
    "b": 229
  },
  "hsl": {
    "h": 268.78,
    "s": 70.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64092,
    "c": 0.18277,
    "h": 303.8
  },
  "luminance": 0.23965
}

Semantic roles & 50–950 ramp

primary
#A56AE5
secondary
#D6EAC1
accent
#D21377
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A56AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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