#A056E4#A056E4

#A056E4 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.209 H 304.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A056E4
RGBrgb(160, 86, 228)
HSLhsl(271, 72%, 62%)
HSVhsv(271, 62%, 89%)
CMYKcmyk(29.8%, 62.3%, 0%, 10.6%)
CIE-LABlab(51.53, 56.12, -60.60)
CIE-LCHlch(51.53, 82.59, 312.80°)
OKLaboklab(60.64% 0.1198 -0.1716)
OKLCHoklch(60.64% 0.209 304.9)
XYZxyz(31.8255, 19.7308, 75.5155)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A056E4 #9AE456
analogous
#5956E4 #A056E4 #E456E1
triadic
#A056E4 #E4A056 #56E4A0
tetradic
#A056E4 #E45956 #9AE456 #56E1E4
square
#A056E4 #E45956 #9AE456 #56E1E4
split-complementary
#A056E4 #E1E456 #56E459
monochromatic
#631AA5 #8223DA #A056E4 #BE8BEC #DBC0F5

Accessibility & contrast

On white

4.25
#A056E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A056E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A056E4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A056E4#FFFFFF#000000##000000
##A056E41.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#327BE1
Tritanopia (blue-blind)
#947495
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a056e4;
/* rgb */ color: rgb(160, 86, 228);
/* oklch */ color: oklch(60.6% 0.209 304.9);
Tailwind
colors: {
  custom: {
    50: '#c089ed',
    500: '#a056e4',
    950: '#000000',
  },
}
SCSS
$custom: #a056e4;
$custom-light: #c089ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a056e4",
  "rgb": {
    "r": 160,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 271.268,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60642,
    "c": 0.20928,
    "h": 304.9
  },
  "luminance": 0.19731
}

Semantic roles & 50–950 ramp

primary
#A056E4
secondary
#CAE5B0
accent
#D5116F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A056E4

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

Preview Lab → · Contrast checker → · Palette generator →

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