#A56AEA#A56AEA

#A56AEA is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.4% C 0.189 H 302.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A56AEA
RGBrgb(165, 106, 234)
HSLhsl(268, 75%, 67%)
HSVhsv(268, 55%, 92%)
CMYKcmyk(29.5%, 54.7%, 0%, 8.2%)
CIE-LABlab(56.34, 48.36, -56.23)
CIE-LCHlch(56.34, 74.16, 310.69°)
OKLaboklab(64.39% 0.102 -0.1587)
OKLCHoklch(64.39% 0.189 302.7)
XYZxyz(35.5190, 24.2479, 80.6350)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56AEA #AFEA6A
analogous
#6A6FEA #A56AEA #E56AEA
triadic
#A56AEA #EAA56A #6AEAA5
tetradic
#A56AEA #EA6A6F #AFEA6A #6AEAE5
square
#A56AEA #EA6A6F #AFEA6A #6AEAE5
split-complementary
#A56AEA #EAE56A #6FEA6A
monochromatic
#661BBF #8534E2 #A56AEA #C5A0F2 #E6D5F9

Accessibility & contrast

On white

3.59
#A56AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#A56AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56AEA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56AEA#FFFFFF#000000##000000
##A56AEA1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EE
Deuteranopia (green-blind)
#4D87E7
Tritanopia (blue-blind)
#9883A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a56aea;
/* rgb */ color: rgb(165, 106, 234);
/* oklch */ color: oklch(64.4% 0.189 302.7);
Tailwind
colors: {
  custom: {
    50: '#c396f1',
    500: '#a56aea',
    950: '#000000',
  },
}
SCSS
$custom: #a56aea;
$custom-light: #c396f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a56aea",
  "rgb": {
    "r": 165,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 267.656,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64392,
    "c": 0.18864,
    "h": 302.7
  },
  "luminance": 0.24248
}

Semantic roles & 50–950 ramp

primary
#A56AEA
secondary
#DAEDC3
accent
#D70E7B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A56AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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