#A056E5#A056E5

#A056E5 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.7% C 0.210 H 304.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A056E5
RGBrgb(160, 86, 229)
HSLhsl(271, 73%, 62%)
HSVhsv(271, 62%, 90%)
CMYKcmyk(30.1%, 62.4%, 0%, 10.2%)
CIE-LABlab(51.59, 56.35, -61.06)
CIE-LCHlch(51.59, 83.09, 312.70°)
OKLaboklab(60.71% 0.1197 -0.173)
OKLCHoklch(60.71% 0.21 304.7)
XYZxyz(31.9647, 19.7865, 76.2488)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A056E5 #9BE556
analogous
#5956E5 #A056E5 #E556E2
triadic
#A056E5 #E5A056 #56E5A0
tetradic
#A056E5 #E55956 #9BE556 #56E2E5
square
#A056E5 #E55956 #9BE556 #56E2E5
split-complementary
#A056E5 #E2E556 #56E559
monochromatic
#631AA7 #8222DC #A056E5 #BE8BED #DCC0F5

Accessibility & contrast

On white

4.24
#A056E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A056E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A056E5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A056E5#FFFFFF#000000##000000
##A056E51.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#317BE2
Tritanopia (blue-blind)
#947496
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a056e5;
/* rgb */ color: rgb(160, 86, 229);
/* oklch */ color: oklch(60.7% 0.210 304.7);
Tailwind
colors: {
  custom: {
    50: '#c08aee',
    500: '#a056e5',
    950: '#000000',
  },
}
SCSS
$custom: #a056e5;
$custom-light: #c08aee;
$custom-dark: #000000;
JSON
{
  "hex": "#a056e5",
  "rgb": {
    "r": 160,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 271.049,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60709,
    "c": 0.21036,
    "h": 304.7
  },
  "luminance": 0.19786
}

Semantic roles & 50–950 ramp

primary
#A056E5
secondary
#CAE6B1
accent
#D5106F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A056E5

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

Preview Lab → · Contrast checker → · Palette generator →

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