#A056E7#A056E7

#A056E7 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.213 H 304.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A056E7
RGBrgb(160, 86, 231)
HSLhsl(271, 75%, 62%)
HSVhsv(271, 63%, 91%)
CMYKcmyk(30.7%, 62.8%, 0%, 9.4%)
CIE-LABlab(51.72, 56.82, -61.98)
CIE-LCHlch(51.72, 84.08, 312.51°)
OKLaboklab(60.84% 0.1196 -0.1757)
OKLCHoklch(60.84% 0.213 304.3)
XYZxyz(32.2456, 19.8988, 77.7279)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A056E7 #9DE756
analogous
#5856E7 #A056E7 #E756E5
triadic
#A056E7 #E7A056 #56E7A0
tetradic
#A056E7 #E75856 #9DE756 #56E5E7
square
#A056E7 #E75856 #9DE756 #56E5E7
split-complementary
#A056E7 #E5E756 #56E758
monochromatic
#6318AA #8220DF #A056E7 #BE8CEF #DCC1F6

Accessibility & contrast

On white

4.22
#A056E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A056E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A056E7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A056E7#FFFFFF#000000##000000
##A056E71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#2E7BE4
Tritanopia (blue-blind)
#937597
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a056e7;
/* rgb */ color: rgb(160, 86, 231);
/* oklch */ color: oklch(60.8% 0.213 304.3);
Tailwind
colors: {
  custom: {
    50: '#c18aef',
    500: '#a056e7',
    950: '#000000',
  },
}
SCSS
$custom: #a056e7;
$custom-light: #c18aef;
$custom-dark: #000000;
JSON
{
  "hex": "#a056e7",
  "rgb": {
    "r": 160,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 270.621,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60842,
    "c": 0.21252,
    "h": 304.3
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

primary
#A056E7
secondary
#CCE7B2
accent
#D70E71
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A056E7

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

Preview Lab → · Contrast checker → · Palette generator →

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