#A56AEB#A56AEB

#A56AEB is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.5% C 0.190 H 302.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A56AEB
RGBrgb(165, 106, 235)
HSLhsl(267, 76%, 67%)
HSVhsv(267, 55%, 92%)
CMYKcmyk(29.8%, 54.9%, 0%, 7.8%)
CIE-LABlab(56.39, 48.60, -56.70)
CIE-LCHlch(56.39, 74.67, 310.60°)
OKLaboklab(64.45% 0.102 -0.1601)
OKLCHoklch(64.45% 0.19 302.5)
XYZxyz(35.6631, 24.3055, 81.3938)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56AEB #B0EB6A
analogous
#6A70EB #A56AEB #E66AEB
triadic
#A56AEB #EBA56A #6AEBA5
tetradic
#A56AEB #EB6A70 #B0EB6A #6AEBE6
square
#A56AEB #EB6A70 #B0EB6A #6AEBE6
split-complementary
#A56AEB #EBE66A #70EB6A
monochromatic
#661AC1 #8434E4 #A56AEB #C6A0F2 #E6D6F9

Accessibility & contrast

On white

3.58
#A56AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#A56AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56AEB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56AEB#FFFFFF#000000##000000
##A56AEB1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786EF
Deuteranopia (green-blind)
#4C87E8
Tritanopia (blue-blind)
#9883A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a56aeb;
/* rgb */ color: rgb(165, 106, 235);
/* oklch */ color: oklch(64.5% 0.190 302.5);
Tailwind
colors: {
  custom: {
    50: '#c396f2',
    500: '#a56aeb',
    950: '#000000',
  },
}
SCSS
$custom: #a56aeb;
$custom-light: #c396f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a56aeb",
  "rgb": {
    "r": 165,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 267.442,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64452,
    "c": 0.1898,
    "h": 302.5
  },
  "luminance": 0.24306
}

Semantic roles & 50–950 ramp

primary
#A56AEB
secondary
#DAEDC4
accent
#D90D7B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A56AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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