#A56AEC#A56AEC

#A56AEC is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.5% C 0.191 H 302.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A56AEC
RGBrgb(165, 106, 236)
HSLhsl(267, 77%, 67%)
HSVhsv(267, 55%, 93%)
CMYKcmyk(30.1%, 55.1%, 0%, 7.5%)
CIE-LABlab(56.45, 48.83, -57.16)
CIE-LCHlch(56.45, 75.18, 310.51°)
OKLaboklab(64.51% 0.102 -0.1614)
OKLCHoklch(64.51% 0.191 302.3)
XYZxyz(35.8079, 24.3635, 82.1568)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A56AEC #B1EC6A
analogous
#6A70EC #A56AEC #E66AEC
triadic
#A56AEC #ECA56A #6AECA5
tetradic
#A56AEC #EC6A70 #B1EC6A #6AECE6
square
#A56AEC #EC6A70 #B1EC6A #6AECE6
split-complementary
#A56AEC #ECE66A #70EC6A
monochromatic
#6619C3 #8434E5 #A56AEC #C6A0F3 #E7D7FA

Accessibility & contrast

On white

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

On black

5.87
#A56AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A56AEC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A56AEC#FFFFFF#000000##000000
##A56AEC1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686F0
Deuteranopia (green-blind)
#4B87E9
Tritanopia (blue-blind)
#9783A1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a56aec;
/* rgb */ color: rgb(165, 106, 236);
/* oklch */ color: oklch(64.5% 0.191 302.3);
Tailwind
colors: {
  custom: {
    50: '#c397f3',
    500: '#a56aec',
    950: '#000000',
  },
}
SCSS
$custom: #a56aec;
$custom-light: #c397f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a56aec",
  "rgb": {
    "r": 165,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 267.231,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64513,
    "c": 0.19097,
    "h": 302.3
  },
  "luminance": 0.24364
}

Semantic roles & 50–950 ramp

primary
#A56AEC
secondary
#DBEEC4
accent
#DA0C7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A56AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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