#A56AEF#A56AEF

#A56AEF is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.7% C 0.194 H 301.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A56AEF
RGBrgb(165, 106, 239)
HSLhsl(267, 81%, 68%)
HSVhsv(267, 56%, 94%)
CMYKcmyk(31%, 55.6%, 0%, 6.3%)
CIE-LABlab(56.62, 49.56, -58.56)
CIE-LCHlch(56.62, 76.71, 310.24°)
OKLaboklab(64.7% 0.1021 -0.1655)
OKLCHoklch(64.7% 0.194 301.7)
XYZxyz(36.2475, 24.5393, 84.4715)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56AEF #B4EF6A
analogous
#6A71EF #A56AEF #E86AEF
triadic
#A56AEF #EFA56A #6AEFA5
tetradic
#A56AEF #EF6A71 #B4EF6A #6AEFE8
square
#A56AEF #EF6A71 #B4EF6A #6AEFE8
split-complementary
#A56AEF #EFE86A #71EF6A
monochromatic
#6516C9 #8433E9 #A56AEF #C6A1F5 #E8D9FB

Accessibility & contrast

On white

3.55
#A56AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#A56AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56AEF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56AEF#FFFFFF#000000##000000
##A56AEF1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3287F3
Deuteranopia (green-blind)
#4887EC
Tritanopia (blue-blind)
#9684A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a56aef;
/* rgb */ color: rgb(165, 106, 239);
/* oklch */ color: oklch(64.7% 0.194 301.7);
Tailwind
colors: {
  custom: {
    50: '#c397f5',
    500: '#a56aef',
    950: '#000000',
  },
}
SCSS
$custom: #a56aef;
$custom-light: #c397f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a56aef",
  "rgb": {
    "r": 165,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 266.617,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64697,
    "c": 0.19448,
    "h": 301.7
  },
  "luminance": 0.24539
}

Semantic roles & 50–950 ramp

primary
#A56AEF
secondary
#DDEFC6
accent
#DD097F
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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