#A057EC#A057EC

#A057EC is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.3% C 0.217 H 303.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A057EC
RGBrgb(160, 87, 236)
HSLhsl(269, 80%, 63%)
HSVhsv(269, 63%, 93%)
CMYKcmyk(32.2%, 63.1%, 0%, 7.5%)
CIE-LABlab(52.23, 57.49, -63.98)
CIE-LCHlch(52.23, 86.02, 311.94°)
OKLaboklab(61.31% 0.1182 -0.1815)
OKLCHoklch(61.31% 0.217 303.1)
XYZxyz(33.0422, 20.3461, 81.5271)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A057EC #A3EC57
analogous
#5758EC #A057EC #EA57EC
triadic
#A057EC #ECA057 #57ECA0
tetradic
#A057EC #EC5758 #A3EC57 #57ECEA
square
#A057EC #EC5758 #A3EC57 #57ECEA
split-complementary
#A057EC #ECEA57 #58EC57
monochromatic
#6314B4 #8120E6 #A057EC #BF8EF2 #DEC5F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A057EC#FFFFFF#000000##000000
##A057EC1.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)
#007BF1
Deuteranopia (green-blind)
#277CE9
Tritanopia (blue-blind)
#91779A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a057ec;
/* rgb */ color: rgb(160, 87, 236);
/* oklch */ color: oklch(61.3% 0.217 303.1);
Tailwind
colors: {
  custom: {
    50: '#c18af3',
    500: '#a057ec',
    950: '#000000',
  },
}
SCSS
$custom: #a057ec;
$custom-light: #c18af3;
$custom-dark: #000000;
JSON
{
  "hex": "#a057ec",
  "rgb": {
    "r": 160,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 269.396,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61309,
    "c": 0.2166,
    "h": 303.1
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#A057EC
secondary
#D0EAB5
accent
#DC0A75
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A057EC

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

Preview Lab → · Contrast checker → · Palette generator →

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