#A056EF#A056EF

#A056EF is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.221 H 302.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A056EF
RGBrgb(160, 86, 239)
HSLhsl(269, 83%, 64%)
HSVhsv(269, 64%, 94%)
CMYKcmyk(33.1%, 64%, 0%, 6.3%)
CIE-LABlab(52.24, 58.69, -65.63)
CIE-LCHlch(52.24, 88.05, 311.80°)
OKLaboklab(61.38% 0.119 -0.1864)
OKLCHoklch(61.38% 0.221 302.6)
XYZxyz(33.4013, 20.3611, 83.8150)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A056EF #A5EF56
analogous
#5658EF #A056EF #ED56EF
triadic
#A056EF #EFA056 #56EFA0
tetradic
#A056EF #EF5658 #A5EF56 #56EFED
square
#A056EF #EF5658 #A5EF56 #56EFED
split-complementary
#A056EF #EFED56 #58EF56
monochromatic
#6312B9 #811EEA #A056EF #BF8EF4 #DFC6FA

Accessibility & contrast

On white

4.14
#A056EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A056EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A056EF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A056EF#FFFFFF#000000##000000
##A056EF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#1D7CEC
Tritanopia (blue-blind)
#90789B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a056ef;
/* rgb */ color: rgb(160, 86, 239);
/* oklch */ color: oklch(61.4% 0.221 302.6);
Tailwind
colors: {
  custom: {
    50: '#c18af5',
    500: '#a056ef',
    950: '#000000',
  },
}
SCSS
$custom: #a056ef;
$custom-light: #c18af5;
$custom-dark: #000000;
JSON
{
  "hex": "#a056ef",
  "rgb": {
    "r": 160,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 269.02,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61383,
    "c": 0.22116,
    "h": 302.6
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#A056EF
secondary
#D1EBB5
accent
#DF0676
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A056EF

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

Preview Lab → · Contrast checker → · Palette generator →

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